From: patrickslee Date: Tue, 14 Mar 2006 02:52:34 +0000 (+0000) Subject: Serious typo in postgres7 upgrade script X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=f182aaf1b52d0a58724a2bf9ae191ec9c7dbf912;p=moodle.git Serious typo in postgres7 upgrade script --- diff --git a/lib/db/postgres7.php b/lib/db/postgres7.php index 85d426d991..94cf28c25c 100644 --- a/lib/db/postgres7.php +++ b/lib/db/postgres7.php @@ -1422,7 +1422,7 @@ function main_upgrade($oldversion=0) { } - if ($oldversion > 2006031000) { + if ($oldversion < 2006031000) { modify_database("","CREATE TABLE prefix_post ( id SERIAL PRIMARY KEY,