From e920529bf893d1b2577d1f4e6ec672d526d47b92 Mon Sep 17 00:00:00 2001 From: stronk7 Date: Sun, 24 Sep 2006 22:15:57 +0000 Subject: [PATCH] Quick Fix. It should be 24! --- lib/db/postgres7.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5