From: martinlanghoff Date: Mon, 22 Nov 2004 02:58:23 +0000 (+0000) Subject: Fixed typo in index name X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=911378628ffe31d5e29939d7120d1feca28fec6b;p=moodle.git Fixed typo in index name --- diff --git a/lib/db/postgres7.php b/lib/db/postgres7.php index 1f42ea2380..bb4c43146d 100644 --- a/lib/db/postgres7.php +++ b/lib/db/postgres7.php @@ -714,7 +714,7 @@ function main_upgrade($oldversion=0) { table_column('user_students', '', 'enrol', 'varchar', '20', '', '', 'not null'); table_column('user_teachers', '', 'enrol', 'varchar', '20', '', '', 'not null'); modify_database("","CREATE INDEX {$CFG->prefix}user_students_enrol_idx ON {$CFG->prefix}user_students (enrol);"); - modify_database("","CREATE INDEX {$CFG->prefix}user_teachers_enrolidx ON {$CFG->prefix}user_teachers (enrol);"); + modify_database("","CREATE INDEX {$CFG->prefix}user_teachers_enrol_idx ON {$CFG->prefix}user_teachers (enrol);"); } return $result; }