Pequeñas correcciones en SQL

This commit is contained in:
Roberto Orden Erena
2019-12-28 22:59:26 +01:00
parent af0a2cf98c
commit be08aaff6e
2 changed files with 11 additions and 11 deletions

View File

@@ -201,7 +201,7 @@ CREATE TABLE myhealth.medicaltest
"time" TIME NOT NULL,
observations TEXT COLLATE pg_catalog."default",
highresimage TEXT,
type VARCHAR(30) NOT NULL,
type VARCHAR(50) NOT NULL,
patientid INTEGER REFERENCES myhealth.patient(id) NOT NULL,
specialistdoctorid INTEGER REFERENCES myhealth.specialistdoctor(id) NOT NULL,
CONSTRAINT medicaltest_pkey PRIMARY KEY (id)