From: stronk7 Date: Sun, 24 Sep 2006 22:15:57 +0000 (+0000) Subject: Quick Fix. It should be 24! X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=e920529bf893d1b2577d1f4e6ec672d526d47b92;p=moodle.git Quick Fix. It should be 24! --- diff --git a/lib/db/postgres7.php b/lib/db/postgres7.php index 73f6b8f6f9..6592c64a0e 100644 --- a/lib/db/postgres7.php +++ b/lib/db/postgres7.php @@ -1923,7 +1923,7 @@ function main_upgrade($oldversion=0) { execute_sql("CREATE UNIQUE INDEX {$CFG->prefix}role_sor_uix ON {$CFG->prefix}role (sortorder);", false); } - if ($oldversion < 2006092510) { + if ($oldversion < 2006092410) { /// Convert all the PG unique keys into their corresponding unique indexes /// we don't want such keys inside Moodle 1.7 and above /// Look for all the UNIQUE CONSTRAINSTS existing in DB