dropIndex method

void dropIndex(
  1. String table,
  2. String fieldName
)

Implementation

void dropIndex(String table, String fieldName) {
  String idx = makeIndexName(table, [fieldName]);
  String sql = "DROP INDEX IF EXISTS $idx";
  execute(sql);
}