forked from science-ation/science-ation
887610f5e3
Modified user.inc and user_login to handle authentication on the new accounts table
25 lines
1.3 KiB
SQL
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;
|