science-ation/db/db.update.195.sql
james e06eb7dbd8 Add missing ; to 194
Remove duplicate INSERT of roles (its in 193, no need to do it again?!)
2011-02-21 16:22:29 +00:00

25 lines
1.3 KiB
SQL

ALTER TABLE users ADD COLUMN `emailprivate` varchar(128);
ALTER TABLE users ADD COLUMN `ord` INT NOT NULL;
ALTER TABLE users ADD COLUMN `displayemail` enum('no','yes');
ALTER TABLE users ADD COLUMN `access_admin` enum('no','yes');
ALTER TABLE users ADD COLUMN `access_config` enum('no','yes');
ALTER TABLE users ADD COLUMN `access_super` enum('no','yes');
ALTER TABLE users ADD COLUMN `fairs_id` INT NOT NULL;
ALTER TABLE users ADD COLUMN `years_school` tinyint(4) NOT NULL;
ALTER TABLE users ADD COLUMN `years_regional` tinyint(4) NOT NULL;
ALTER TABLE users ADD COLUMN `years_national` tinyint(4) NOT NULL;
ALTER TABLE users ADD COLUMN `willing_chair` enum('yes','no');
ALTER TABLE users ADD COLUMN `special_award_only` enum('yes','no');
ALTER TABLE users ADD COLUMN `cat_prefs` tinytext;
ALTER TABLE users ADD COLUMN `div_prefs` tinytext;
ALTER TABLE users ADD COLUMN `divsub_prefs` tinytext;
ALTER TABLE users ADD COLUMN `languages` tinytext;
ALTER TABLE users ADD COLUMN `highest_psd` tinytext;
ALTER TABLE users ADD COLUMN `expertise_other` tinytext;
ALTER TABLE users ADD COLUMN `sponsors_id` INT NOT NULL DEFAULT '0';
ALTER TABLE users ADD COLUMN `primary` enum('no','yes');
ALTER TABLE users ADD COLUMN `position` varchar(64);
ALTER TABLE users ADD COLUMN `notes` text;
ALTER TABLE users ADD COLUMN `schools_id` INT NOT NULL;
ALTER TABLE users ADD COLUMN `grade` INT;