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

12 lines
690 B
MySQL
Raw Normal View History

ALTER TABLE `schedule` ADD `sominteams` INT NOT NULL AFTER `title`;
ALTER TABLE `schedule` ADD `sominjudges` INT NOT NULL AFTER `somaxteams` ,
ADD `somaxjudges` INT NOT NULL AFTER `sominjudges` ,
ADD `sominvolunteers` INT NOT NULL AFTER `somaxjudges` ,
ADD `somaxvolunteers` INT NOT NULL AFTER `sominvolunteers`;
ALTER TABLE `events` CHANGE `min_judges` `default_min_judges` INT( 11 ) NULL DEFAULT NULL;
ALTER TABLE `events` CHANGE `max_judges` `default_max_judges` INT( 11 ) NULL DEFAULT NULL;
ALTER TABLE `events` ADD `default_min_teams` INT NOT NULL AFTER `default_max_judges`;
ALTER TABLE `events` ADD `default_min_volunteers` INT NOT NULL ,
ADD `default_max_volunteers` INT NOT NULL;