Logo
Explore Help
Sign In
arman/science-ation
1
1
Fork 0
You've already forked science-ation
forked from science-ation/science-ation
Code Pull Requests Activity
science-ation/db/db.update.101.sql

7 lines
332 B
MySQL
Raw Normal View History

- More GVRSF stuff that I missed. Add two fields to the award_awards: 'self_nominate', and 'schedule_judges'. - self_nominate defaults to 'yes' for all new and existing awards. If turned off, the award will not appear in the student self-nomination pages. - schedule_judges specifies whether an award should have judges or not, we have some special awards that students can nominate for but do not require judges to find the winner. Similarly we have some awards students cannot nominate for but do require judges to determine a winner. This allows both cases to be handled.
2008-01-24 07:46:12 +00:00
ALTER TABLE `award_awards` ADD `self_nominate` ENUM('yes', 'no') NOT NULL DEFAULT 'yes' AFTER `cwsfaward` ;
ALTER TABLE `award_awards` ADD `schedule_judges` ENUM('yes', 'no') NOT NULL DEFAULT 'yes' AFTER `self_nominate` ;
UPDATE award_awards SET self_nominate='yes' WHERE 1;
UPDATE award_awards SET schedule_judges='yes' WHERE 1;
Copy Permalink
Powered by Gitea Page: 125ms Template: 4ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API