mirror of
https://github.com/silverstripe/silverstripe-postgresql
synced 2024-10-22 15:05:45 +00:00
BUGFIX: Bring createTable in to line with base class
This commit is contained in:
parent
9e8cc03243
commit
310638dc9f
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user