- Old PGSQL fix for people updating from way back ;)
parent
69a9a4451d
commit
8bab140a2a
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue