forked from science-ation/science-ation
e55a6f901a
Add min/max judges/volunteers/teams Add defaults Update science olympic tab display Add Teams/Volunteers/Judges status to admin schedule view
12 lines
690 B
SQL
12 lines
690 B
SQL
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;
|
|
|