forked from science-ation/science-ation
860175ae79
Open - Anyone can register. Single password - Same password for all schools, they tell the students that will register what the password is. School password - One password per school, they tell the students that will register what the password is. School is pre-selected based on their school password. This will allow eventually the ability to restrict participation numbers on a per school basis Invite - The teachers at the schools must 'invite' the students to register by logging in as the school and creating accounts for each student. The student then logs in and finishes entering all of their information. This will allow eventually the ability to restrict participation numbers on a per school basis Bump version number (0.9.3-svn)
8 lines
1.1 KiB
SQL
8 lines
1.1 KiB
SQL
ALTER TABLE `config` ADD UNIQUE (`var`,`year`);
|
|
INSERT INTO `config` ( `var` , `val` , `description` , `year` ) VALUES ( 'participant_registration_type', 'open', 'The type of Participant Registration to use: open | singlepassword | schoolpassword | invite', '-1');
|
|
INSERT INTO `config` ( `var` , `val` , `description` , `year` ) VALUES ( 'judge_registration_type', 'open', 'The type of Judge Registration to use: open | singlepassword | invite', '-1');
|
|
INSERT INTO `config` ( `var` , `val` , `description` , `year` ) VALUES ( 'participant_registration_singlepassword', '', 'The single password to use for participant registraiton if participant_registration_type is singlepassword. Leave blank if not using singlepassword participant registration','-1');
|
|
INSERT INTO `config` ( `var` , `val` , `description` , `year` ) VALUES ( 'judge_registration_singlepassword', '', 'The single password to use for judge registration if judge_registration_type is singlepassword. Leave blank if not using singlepassword judge registraiton', '-1');
|
|
ALTER TABLE `schools` ADD `registration_password` VARCHAR( 32 ) NOT NULL;
|
|
|