mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 05:58:34 +01:00
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:
parent
ca05cf1fb3
commit
5a2432d47b
@ -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;
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user