Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

BUGFIX Accepting 'index' as valid key in MySQLDatabase->createIndex()…

… (same as PostgreSQLDatabase)
  • Loading branch information...
commit 32548a9b3bbc09298b8cb5b79d38d1bd38f65902 1 parent 8fd309a
@chillu chillu authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  core/model/MySQLDatabase.php
View
1  core/model/MySQLDatabase.php
@@ -391,6 +391,7 @@ public function convertIndexSpec($indexSpec){
$indexSpec='unique (' . $indexSpec['value'] . ')';
break;
case 'btree':
+ case 'index':
$indexSpec='using btree (' . $indexSpec['value'] . ')';
break;
case 'hash':
Please sign in to comment.
Something went wrong with that request. Please try again.