BUGFIX: Bring createTable in to line with base class

This commit is contained in:
Luke Hudson 2010-04-29 03:56:53 +00:00
parent 9e8cc03243
commit 310638dc9f

View File

@ -274,8 +274,10 @@ class PostgreSQLDatabase extends SS_Database {
//First of all, does this table already exist
$doesExist=$this->TableExists($tableName);
if($doesExist)
return false;
if($doesExist) {
// Table already exists, just return the name, in line with baseclass documentation.
return $tableName;
}
//If we have a fulltext search request, then we need to create a special column
//for GiST searches