2009-02-04 08:03:37 +00:00
|
|
|
ALTER TABLE `judges_timeslots` ADD `round_id` INT NOT NULL AFTER `id` ;
|
2009-02-06 06:55:32 +00:00
|
|
|
ALTER TABLE `judges_timeslots` ADD `name` TINYTEXT NOT NULL AFTER `endtime` ;
|
2009-02-06 06:52:28 +00:00
|
|
|
ALTER TABLE `judges_timeslots` ADD `type` ENUM( 'timeslot','divisional1', 'divisional2', 'grand', 'special' ) NOT NULL AFTER `round_id` ;
|
2009-02-04 08:03:37 +00:00
|
|
|
|
|
|
|
UPDATE `judges_timeslots` SET `type`='divisional1' WHERE allowdivisional='yes';
|
2009-02-06 06:52:28 +00:00
|
|
|
UPDATE `judges_timeslots` SET `type`='special' WHERE allowdivisional='no';
|
2009-02-04 08:03:37 +00:00
|
|
|
|
|
|
|
ALTER TABLE `judges_timeslots` DROP `allowdivisional` ;
|
|
|
|
|
|
|
|
|