- Old PGSQL fix for people updating from way back ;)

4.4.x
Steven Wittens 2004-02-15 13:45:47 +00:00
parent 69a9a4451d
commit 8bab140a2a
1 changed files with 6 additions and 1 deletions

View File

@ -218,7 +218,12 @@ function update_45() {
}
function update_46() {
update_sql("ALTER TABLE cache ADD created int(11) NOT NULL default '0'");
if ($GLOBALS["db_type"] == "pgsql") {
update_sql("ALTER TABLE cache ADD created integer");
}
else {
update_sql("ALTER TABLE cache ADD created int(11) NOT NULL default '0'");
}
}
function update_47() {