switch the new database stuff to DB16 instead of 15, and bump the required db number

This commit is contained in:
james 2006-02-24 17:52:04 +00:00
parent e08b6d5236
commit e5d03b07a9
3 changed files with 6 additions and 5 deletions

View File

@ -1 +1 @@
15
16

View File

@ -1,5 +1,2 @@
ALTER TABLE `judges` DROP `catpref`, DROP `divpref`;
ALTER TABLE `registrations` ADD `schools_id` INT UNSIGNED DEFAULT NULL ;
CREATE TABLE `signaturepage` ( `id` INT UNSIGNED NOT NULL AUTO_INCREMENT , `name` VARCHAR( 32 ) NOT NULL , `use` TINYINT DEFAULT '1' NOT NULL , `text` TEXT NOT NULL , PRIMARY KEY ( `id` )) TYPE = MYISAM ;
INSERT INTO `signaturepage` (`id`, `name`, `use`, `text`) VALUES (1, 'exhibitordeclaration', 1, 'The following section is to be read and signed by the exhibitor(s).\r\n\r\nI/We certify that:\r\n - The preparation of this project is mainly my/our own work.\r\n - I/We have read the rules and regulations and agree to abide by them.\r\n - I/We agree agree that the decision of the judges will be final.');
INSERT INTO `signaturepage` (`id`, `name`, `use`, `text`) VALUES (2, 'parentdeclaration', 1, 'The following is to be read and signed by the exhibitor(s) parent(s)/guardian(s).\r\nAs a parent/guardian I certify to the best of my knowledge and believe the information contained in this application is correct, and the project is the work of the student. I also understand that the material used in the project is the responsibility of the student and that neither the school, the teacher, nor the regional fair can be held responsible for loss, damage, or theft, however caused. I further understand that all exhibits entered must be left on display until the end of the Fair. If my son/daughter does not remove the exhibit at the end of the Fair, the fair organizers or the owner of the exhibition hall cannot be responsible for the disposal of the exhibit.\r\n\r\nIf my son/daughter is awarded the honour of having his/her exhibit chosen for presentation at the Canada-Wide Science Fair, I consent to having him/her journey to the Fair, and will not hold the Fair responsible for any accident or mishap to the student or the exhibit.');

4
db/db.update.16.sql Normal file
View File

@ -0,0 +1,4 @@
ALTER TABLE `registrations` ADD `schools_id` INT UNSIGNED DEFAULT NULL ;
CREATE TABLE `signaturepage` ( `id` INT UNSIGNED NOT NULL AUTO_INCREMENT , `name` VARCHAR( 32 ) NOT NULL , `use` TINYINT DEFAULT '1' NOT NULL , `text` TEXT NOT NULL , PRIMARY KEY ( `id` )) TYPE = MYISAM ;
INSERT INTO `signaturepage` (`id`, `name`, `use`, `text`) VALUES (1, 'exhibitordeclaration', 1, 'The following section is to be read and signed by the exhibitor(s).\r\n\r\nI/We certify that:\r\n - The preparation of this project is mainly my/our own work.\r\n - I/We have read the rules and regulations and agree to abide by them.\r\n - I/We agree agree that the decision of the judges will be final.');
INSERT INTO `signaturepage` (`id`, `name`, `use`, `text`) VALUES (2, 'parentdeclaration', 1, 'The following is to be read and signed by the exhibitor(s) parent(s)/guardian(s).\r\nAs a parent/guardian I certify to the best of my knowledge and believe the information contained in this application is correct, and the project is the work of the student. I also understand that the material used in the project is the responsibility of the student and that neither the school, the teacher, nor the regional fair can be held responsible for loss, damage, or theft, however caused. I further understand that all exhibits entered must be left on display until the end of the Fair. If my son/daughter does not remove the exhibit at the end of the Fair, the fair organizers or the owner of the exhibition hall cannot be responsible for the disposal of the exhibit.\r\n\r\nIf my son/daughter is awarded the honour of having his/her exhibit chosen for presentation at the Canada-Wide Science Fair, I consent to having him/her journey to the Fair, and will not hold the Fair responsible for any accident or mishap to the student or the exhibit.');