diff --git a/db/db.update.122.sql b/db/db.update.122.sql index 647ebeec..42da53b8 100644 --- a/db/db.update.122.sql +++ b/db/db.update.122.sql @@ -1,9 +1,9 @@ ALTER TABLE `judges_timeslots` ADD `round_id` INT NOT NULL AFTER `id` ; ALTER TABLE `judges_timeslots` ADD `round_name` TINYTEXT NOT NULL AFTER `endtime` ; -ALTER TABLE `judges_timeslots` ADD `type` ENUM( 'timeslot','divisional1', 'divisional2', 'grand', 'specialawards' ) NOT NULL AFTER `round_id` ; +ALTER TABLE `judges_timeslots` ADD `type` ENUM( 'timeslot','divisional1', 'divisional2', 'grand', 'special' ) NOT NULL AFTER `round_id` ; UPDATE `judges_timeslots` SET `type`='divisional1' WHERE allowdivisional='yes'; -UPDATE `judges_timeslots` SET `type`='specialawards' WHERE allowdivisional='no'; +UPDATE `judges_timeslots` SET `type`='special' WHERE allowdivisional='no'; ALTER TABLE `judges_timeslots` DROP `allowdivisional` ;