science-ation/db/db.update.172.sql

8 lines
313 B
SQL

CREATE TABLE `conferences` (
`id` INT NOT NULL AUTO_INCREMENT PRIMARY KEY ,
`name` VARCHAR( 128 ) NOT NULL ,
`type` ENUM( 'sciencefair', 'scienceolympics' ) NOT NULL ,
`status` ENUM( 'pending', 'running', 'ended' ) NOT NULL
) ENGINE = MYISAM ;
ALTER TABLE `config` ADD `conferences_id` INT NULL DEFAULT NULL;