/** * Remove shadow db name for creating index names * * Retrieve valid index name * Check index name length and allowed symbols * * @param string $tableName * @param string|array $fields the columns list * @param string $indexType * * @return string */ public function getIndexName($tableName, $fields, $indexType = '') { return parent::getIndexName($this->_removeShadowDbName($tableName), $fields, $indexType); }