/** * gets drop index as sql * * @param string $tableName * @param string $indexName * @return string */ public function getDropIndexSql($tableName, $indexName) { if (0 !== strpos($indexName, $tableName . '_')) { $indexName = $tableName . '_' . $indexName; } return parent::getDropIndexSql($tableName, $indexName); }