1 | <?php |
||
20 | class m170907_052038_rbac_add_index_on_auth_assignment_user_id extends Migration |
||
21 | { |
||
22 | public $column = 'user_id'; |
||
23 | public $index = 'auth_assignment_user_id_idx'; |
||
24 | |||
25 | /** |
||
26 | * @throws yii\base\InvalidConfigException |
||
27 | * @return DbManager |
||
28 | */ |
||
29 | protected function getAuthManager() |
||
38 | |||
39 | /** |
||
40 | * @inheritdoc |
||
41 | */ |
||
42 | public function up() |
||
48 | |||
49 | /** |
||
50 | * @inheritdoc |
||
51 | */ |
||
52 | public function down() |
||
57 | } |
||
58 |