X-Git-Url: https://git.llucax.com/software/sercom.git/blobdiff_plain/596509780382d79f0de8ea6496180a900f4b4840..c753e0176f98ae0097009f6513d9e4b15d354c86:/doc/schema/schema.sql?ds=inline 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 );