Merge e536a8b85a
into 5187e747b3
This commit is contained in:
commit
b857329330
|
@ -1125,7 +1125,8 @@ class PostgreSQLDatabase extends SS_Database {
|
|||
default:
|
||||
$spec = "create index \"$tableCol\" ON \"$tableName\" (" . $indexSpec['value'] . ") $fillfactor $where";
|
||||
}
|
||||
return trim($spec) . ';';
|
||||
$deleteStatement = "drop index if exists \"$tableCol\";";
|
||||
return $deleteStatement . ' '. trim($spec) . ';';
|
||||
}
|
||||
|
||||
function getDbSqlDefinition($tableName, $indexName, $indexSpec) {
|
||||
|
|
Loading…
Reference in New Issue