generateDropIndexSQL method
Drops the index name of table: DROP INDEX IF EXISTS name, or
DROP INDEX name ON table (SQLDialect.dropIndexOnTable: MySQL).
Implementation
String generateDropIndexSQL(String table, String name) {
var q = dialect.elementQuote;
return dialect.dropIndexOnTable
? 'DROP INDEX $q$name$q ON $q$table$q ;'
: 'DROP INDEX IF EXISTS $q$name$q ;';
}