X-Git-Url: https://git.llucax.com/z.facultad/75.52/sercom.git/blobdiff_plain/c753e0176f98ae0097009f6513d9e4b15d354c86..9a61fcfae96620b6b54c1823a4a2df8ef08c8d50:/doc/schema/schema.sql diff --git a/doc/schema/schema.sql b/doc/schema/schema.sql index 8a94cdb..3cc2db8 100644 --- a/doc/schema/schema.sql +++ b/doc/schema/schema.sql @@ -48,7 +48,7 @@ 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), + autor_id INT CONSTRAINT autor_id_exists REFERENCES docente(id), descripcion VARCHAR(255), creado TIMESTAMP NOT NULL ); @@ -64,7 +64,7 @@ CREATE TABLE caso_de_prueba ( id INTEGER PRIMARY KEY, enunciado_id INT CONSTRAINT enunciado_id_exists REFERENCES enunciado(id), nombre VARCHAR(40) NOT NULL, - parametros TEXT NOT NULL, + parametros VARCHAR(255) NOT NULL, retorno INT, tiempo_cpu FLOAT, descripcion VARCHAR(255)