X-Git-Url: https://git.llucax.com/z.facultad/75.52/sercom.git/blobdiff_plain/596509780382d79f0de8ea6496180a900f4b4840..6c3ed2848cc34d2ba3dbd59e8b3b24541175b42a:/doc/schema/schema.sql?ds=sidebyside diff --git a/doc/schema/schema.sql b/doc/schema/schema.sql index 6e8fefc..8a94cdb 100644 --- a/doc/schema/schema.sql +++ b/doc/schema/schema.sql @@ -48,8 +48,8 @@ CREATE TABLE dependencia ( CREATE TABLE enunciado ( id INTEGER PRIMARY KEY, nombre VARCHAR(60) NOT NULL UNIQUE, + autor_id INT NOT NULL CONSTRAINT autor_id_exists REFERENCES docente(id), descripcion VARCHAR(255), - autor_id INT CONSTRAINT autor_id_exists REFERENCES docente(id), creado TIMESTAMP NOT NULL );