Actualización de datos y diseño BBDD
This commit is contained in:
@@ -70,13 +70,13 @@ if exists (SELECT 1 FROM pg_sequences WHERE schemaname='myhealth' and sequencena
|
||||
drop sequence myhealth.codigoidentificacionpaciente;
|
||||
end if;
|
||||
|
||||
CREATE SEQUENCE myhealth.ProfesionalNumber
|
||||
CREATE SEQUENCE myhealth.profesionalnumber
|
||||
INCREMENT 1
|
||||
START 1000
|
||||
MINVALUE 1000
|
||||
CACHE 1;
|
||||
|
||||
CREATE SEQUENCE myhealth.CodigoIdentificacionPaciente
|
||||
CREATE SEQUENCE myhealth.codigoidentificacionpaciente
|
||||
INCREMENT 1
|
||||
START 1000
|
||||
MINVALUE 1000
|
||||
@@ -246,8 +246,8 @@ ALTER TABLE myhealth.question
|
||||
CREATE TABLE myhealth.medicaltest
|
||||
(
|
||||
id INTEGER NOT NULL GENERATED ALWAYS AS IDENTITY ( INCREMENT 1 START 1 MINVALUE 1 MAXVALUE 2147483647 CACHE 1 ),
|
||||
date date,
|
||||
"time" abstime,
|
||||
date DATE,
|
||||
"time" TIME,
|
||||
observations TEXT COLLATE pg_catalog."default",
|
||||
highresimage bytea,
|
||||
type INTEGER,
|
||||
|
||||
Reference in New Issue
Block a user