s/course_code/course_id/

skala
Arnaud Ligot 14 years ago
parent 9d57f03fcc
commit f1cacb6d6d
  1. 6
      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,

Loading…
Cancel
Save