mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
parent
65e2347342
commit
957d238caa
@ -314,7 +314,6 @@ class MySQLSchemaManager extends DBSchemaManager
|
||||
|
||||
public function alterIndex($tableName, $indexName, $indexSpec)
|
||||
{
|
||||
$indexSpec = $this->parseIndexSpec($indexName, $indexSpec);
|
||||
$this->query(sprintf('ALTER TABLE "%s" DROP INDEX "%s"', $tableName, $indexName));
|
||||
$this->query(sprintf(
|
||||
'ALTER TABLE "%s" ADD %s "%s" %s',
|
||||
|
Loading…
Reference in New Issue
Block a user