mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
BUGFIX Accepting 'index' as valid key in MySQLDatabase->createIndex() (same as PostgreSQLDatabase)
This commit is contained in:
parent
8fd309a5ea
commit
32548a9b3b
@ -391,6 +391,7 @@ class MySQLDatabase extends SS_Database {
|
|||||||
$indexSpec='unique (' . $indexSpec['value'] . ')';
|
$indexSpec='unique (' . $indexSpec['value'] . ')';
|
||||||
break;
|
break;
|
||||||
case 'btree':
|
case 'btree':
|
||||||
|
case 'index':
|
||||||
$indexSpec='using btree (' . $indexSpec['value'] . ')';
|
$indexSpec='using btree (' . $indexSpec['value'] . ')';
|
||||||
break;
|
break;
|
||||||
case 'hash':
|
case 'hash':
|
||||||
|
Loading…
x
Reference in New Issue
Block a user