Browse Source

Fixed RBAC migration updates (#16330)

tags/2.0.16
Rustam Mamadaminov 6 years ago committed by Alexander Makarov
parent
commit
69db550876
  1. 2
      framework/rbac/migrations/m180523_151638_rbac_updates_indexes_without_prefix.php

2
framework/rbac/migrations/m180523_151638_rbac_updates_indexes_without_prefix.php

@ -58,7 +58,7 @@ class m180523_151638_rbac_updates_indexes_without_prefix extends Migration
$this->createIndex('auth_assignment_user_id_idx', $authManager->assignmentTable, 'user_id');
$this->dropIndex('{{%idx-auth_item-type}}', $authManager->assignmentTable);
$this->dropIndex('{{%idx-auth_item-type}}', $authManager->itemTable);
$this->createIndex('idx-auth_item-type', $authManager->itemTable, 'type');
}
}

Loading…
Cancel
Save