Just to be sure that value columns type is text.

Postgres cannot change column types at time change was made.
This commit is contained in:
paca70 2004-09-20 17:45:33 +00:00
parent ca05cf1fb3
commit 5a2432d47b
2 changed files with 4 additions and 1 deletions

View File

@ -598,6 +598,9 @@ function main_upgrade($oldversion=0) {
execute_sql("CREATE INDEX {$CFG->prefix}user_auth_idx ON {$CFG->prefix}user (auth)");
}
if ($oldversion < 2004092000) { //redoing this just to be sure that column type is text (postgres type changes didnt work when this was done first time)
table_column("config", "value", "value", "text", "", "", "");
}
return $result;

View File

@ -5,7 +5,7 @@
// database to determine whether upgrades should
// be performed (see lib/db/*.php)
$version = 2004091900; // The current version is a date (YYYYMMDDXX)
$version = 2004092000; // The current version is a date (YYYYMMDDXX)
$release = "1.5 unstable development"; // User-friendly version number