Skip to content
Snippets Groups Projects
Commit ab633dad authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Patch #28986: fixed Incorrect order of PosgreSQL statements.

parent b1143365
No related branches found
No related tags found
No related merge requests found
......@@ -2474,9 +2474,9 @@ function update_137() {
elseif ($GLOBALS['db_type'] == 'pgsql') {
$ret[] = update_sql("ALTER TABLE {locales_source} RENAME location TO location_old");
$ret[] = update_sql("ALTER TABLE {locales_source} ADD location varchar(255)");
$ret[] = update_sql("UPDATE {locales_source} SET location = location_old");
$ret[] = update_sql("ALTER TABLE {locales_source} ALTER location SET NOT NULL");
$ret[] = update_sql("ALTER TABLE {locales_source} ALTER location SET DEFAULT ''");
$ret[] = update_sql("UPDATE {locales_source} SET location = location_old");
$ret[] = update_sql("ALTER TABLE {locales_source} DROP location_old");
}
return $ret;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment