src/migrations/m180723_120432_indexes.php
Method safeUp
has 40 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function safeUp()
{
// admin_auth
$this->createIndex('index_route', '{{%admin_auth}}', ['route']);
$this->createIndex('index_api', '{{%admin_auth}}', ['api']);