From 5748382c977b2f3a246d9b9ba98f69e80e419f13 Mon Sep 17 00:00:00 2001 From: james Date: Tue, 3 Jan 2006 02:17:30 +0000 Subject: [PATCH] Whoops, fix the bugs in the db update file, it should import properly now. --- db/db.update.11.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/db/db.update.11.sql b/db/db.update.11.sql index 871ef58..bde8282 100644 --- a/db/db.update.11.sql +++ b/db/db.update.11.sql @@ -12,13 +12,13 @@ CREATE TABLE `judges_schedulerconfig` ( `description` TEXT NOT NULL , `year` INT( 11 ) NOT NULL DEFAULT '0', UNIQUE KEY `var` ( `var` , `year` ) -) TYPE = MYISAM DEFAULT; +) TYPE = MYISAM ; INSERT INTO `judges_schedulerconfig` ( `var` , `val` , `description` , `year` ) VALUES ( 'timeslot_length', '12', 'The length of time (in minutes) that a judging timeslot should be', '-1'); INSERT INTO `judges_schedulerconfig` ( `var` , `val` , `description` , `year` ) VALUES ( 'timeslot_break', '3', 'The length of time (in minutes) between timeslots to allow judges to move between projects', '-1'); INSERT INTO `judges_schedulerconfig` ( `var` , `val` , `description` , `year` ) VALUES ( 'num_times_judged', '3', 'The number of times that each project must be judged (by different judging teams)', '-1'); INSERT INTO `judges_schedulerconfig` ( `var` , `val` , `description` , `year` ) VALUES ( 'num_timeslots', '20', 'The number of timeslots available during the judging period', '-1'); INSERT INTO `judges_schedulerconfig` ( `var` , `val` , `description` , `year` ) VALUES ( 'max_projects_per_team', '5', 'The maximum number of projects that a team can judge', '-1'); INSERT INTO `judges_schedulerconfig` ( `var` , `val` , `description` , `year` ) VALUES ( 'min_judges_per_team', '2', 'The minimum number of judges that should be on a judging team', '-1'); -INSERT INTO `judges_schedulerconfig` ( `var` , `val` , `description` , `year` ) VALUES ( 'max_judges_per_team', '4', 'The maximum number of judges that should be on a judging team', '-1');` +INSERT INTO `judges_schedulerconfig` ( `var` , `val` , `description` , `year` ) VALUES ( 'max_judges_per_team', '4', 'The maximum number of judges that should be on a judging team', '-1'); ALTER TABLE `judges_teams` ADD `autocreate_type_id` INT DEFAULT NULL ; INSERT INTO `emails` ( `id` , `val` , `name` , `description` , `from` , `subject` , `body` , `type` ) VALUES ('', 'register_judges_resend_password', 'Judges Registration - Resend Password', 'Resend the password to the judge if they submit a ''forgot password'' request', 'website@sfiab.ca', 'Judge Registration for [FAIRNAME]', 'We have received a request for the retrieval of your password from this email address. Please find your existing password below Judge Email Address: [EMAIL] Judge Registration Password: [PASSWORD] ', 'system');