BUGFIX: Rename SQL fixed

This commit is contained in:
Geoff Munn 2010-03-21 23:02:54 +00:00
parent 991aaba95d
commit b12b5f0e31

View File

@ -489,7 +489,7 @@ class PostgreSQLDatabase extends SS_Database {
}
public function renameTable($oldTableName, $newTableName) {
$this->query("ALTER TABLE \"$oldTableName\" RENAME \"$newTableName\"");
$this->query("ALTER TABLE \"$oldTableName\" RENAME TO \"$newTableName\"");
}
/**