abca578618bb37c14f6945f8297f4370ffd5e3e2
[atutor.git] / docs / install / db / atutor_upgrade_2.0.1_to_2.0.2.sql
1 # set the type of the mobile theme
2 UPDATE `themes` SET `type` = 'Mobile' WHERE `dir_name` = 'mobile';
3
4 # add the Vimeo module 
5 INSERT INTO `modules` (`dir_name`, `status`, `privilege`, `admin_privilege`, `cron_interval`, `cron_last_run`) VALUES('_standard/vimeo', 2, 0, 1, 0, 0);
6
7 # add the IDI Default theme
8 INSERT INTO `themes` VALUES ('IDI Theme', '2.0.2', 'idi', 'Desktop', '2010-12-02', 'The theme created for the IDI course server.', '1');
9 UPDATE `themes` SET `version` = '2.0.2' WHERE `title` = 'ATutor';
10 UPDATE `themes` SET `version` = '2.0.2' WHERE `title` = 'Fluid';
11 UPDATE `themes` SET `version` = '2.0.2' WHERE `title` = 'ATutor Classic';
12 UPDATE `themes` SET `version` = '2.0.2' WHERE `title` = 'Blumin';
13 UPDATE `themes` SET `version` = '2.0.2' WHERE `title` = 'Greenmin';
14 UPDATE `themes` SET `version` = '2.0.2' WHERE `title` = 'ATutor 1.5';
15 UPDATE `themes` SET `version` = '2.0.2' WHERE `title` = 'Mobile';
16 UPDATE `themes` SET `version` = '2.0.2' WHERE `title` = 'ATutor 1.6';
17
18 # A mapping table between photo album and atutor groups
19 CREATE TABLE `pa_groups` (
20   `group_id` INTEGER UNSIGNED NOT NULL,
21   `album_id` INTEGER UNSIGNED NOT NULL,
22   PRIMARY KEY (`group_id`, `album_id`)
23 ) ENGINE = MyISAM;
24