diff --git a/db/db.update.128.sql b/db/db.update.128.sql index 22c6565..a641b1e 100644 --- a/db/db.update.128.sql +++ b/db/db.update.128.sql @@ -4,3 +4,9 @@ INSERT INTO `config` (`var`, `val`, `category`, `type`, `type_values`, `ord`, `d ('fair_stats_scholarships', 'yes', 'Science Fairs', 'yesno', '', 800, 'Gather Stats: Scholarships given out by the fair', -1), ('fair_stats_delegates', 'yes', 'Science Fairs', 'yesno', '', '900', 'Gather Stats: CWSF Delegate names/email/jacket size', '-1'); + +ALTER TABLE `fairs` ADD `website` TINYTEXT NOT NULL AFTER `url` ; + +ALTER TABLE `fairs` ADD `enable_stats` ENUM( 'no', 'yes' ) NOT NULL , + ADD `enable_awards` ENUM( 'no', 'yes' ) NOT NULL , + ADD `enable_winners` ENUM( 'no', 'yes' ) NOT NULL ;