Commit c4d6f3e6 authored by Julien Schröter's avatar Julien Schröter
Browse files

Forbid null values in any field of the university table

parent 7826e960
......@@ -105,11 +105,11 @@ DELIMITER ;
DROP TABLE IF EXISTS `university`;
CREATE TABLE IF NOT EXISTS `university` (
`iduniversity` INT UNSIGNED NOT NULL AUTO_INCREMENT,
`name` VARCHAR(127),
`shortform` VARCHAR(127),
`city` VARCHAR(45),
`country` VARCHAR(45),
`domain` VARCHAR(252),
`name` VARCHAR(127) NOT NULL,
`shortform` VARCHAR(127) NOT NULL,
`city` VARCHAR(45) NOT NULL,
`country` VARCHAR(45) NOT NULL,
`domain` VARCHAR(252) NOT NULL,
PRIMARY KEY (`iduniversity`)
);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment