forked from science-ation/science-ation
- Sneak in a database update. We can use the fairs table to enable stats, awards, and winners.
For a feeder fair specifying the upstream fair, this means the feeder fair will request to download stats, download awards, and upload winners. For the upstream fair specifying feeder fairs, this means the feeder fair is allowed to upload stats, download awards, and upload winners. --This line, and those below, will be ignored-- M db/db.update.128.sql
This commit is contained in:
parent
f58fd10749
commit
4eea632521
@ -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 ;
|
||||
|
Loading…
Reference in New Issue
Block a user