Commit 8bab140a authored by Steven Wittens's avatar Steven Wittens

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

parent 69a9a445
......@@ -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() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment