From f1cacb6d6da578c9c7bb8b4b0deb901233374622 Mon Sep 17 00:00:00 2001 From: Arnaud Ligot Date: Thu, 24 Feb 2011 18:47:39 +0100 Subject: [PATCH] s/course_code/course_id/ --- main/install/db_main.sql | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main/install/db_main.sql b/main/install/db_main.sql index db4b5cbc37..8898d8aa04 100644 --- a/main/install/db_main.sql +++ b/main/install/db_main.sql @@ -2419,7 +2419,7 @@ INSERT INTO user_field(field_type, field_variable, field_display_text, field_vis INSERT INTO user_field(field_type, field_variable, field_display_text, field_visible, field_changeable) VALUES(11, 'timezone', 'Timezone', 0, 0); CREATE TABLE `reports_keys` ( `id` int(11) NOT NULL AUTO_INCREMENT, - `course` varchar(64) DEFAULT NULL, + `course_id` integer DEFAULT NULL, `tool_id` int(11) DEFAULT NULL, `child_id` int(11) DEFAULT NULL, `child_name` varchar(64) DEFAULT NULL, @@ -2429,8 +2429,8 @@ CREATE TABLE `reports_keys` ( `subsubchild_name` varchar(64) DEFAULT NULL, `link` varchar(256) DEFAULT NULL, PRIMARY KEY (`id`), - KEY `course` (`course`), - KEY `course_2` (`course`,`tool_id`,`child_id`,`subchild_id`,`subsubchild_id`)); + KEY `course_id` (`course_id`), + KEY `course_id_2` (`course_id`,`tool_id`,`child_id`,`subchild_id`,`subsubchild_id`)); CREATE TABLE `reports_values` ( `key_id` int(11) NOT NULL,