Egorka
7 years ago
1 changed files with 0 additions and 30 deletions
@ -1,30 +0,0 @@
|
||||
<?php |
||||
|
||||
use yii\db\Migration; |
||||
|
||||
require (Yii::getAlias('@yii/rbac/migrations/m140506_102106_rbac_init.php')); |
||||
require (Yii::getAlias('@yii/rbac/migrations/m170907_052038_rbac_add_index_on_auth_assignment_user_id.php')); |
||||
|
||||
/** |
||||
* Class m180126_050850_exec_rbac_migrations |
||||
*/ |
||||
class m121026_055200_exec_rbac_migrations extends Migration |
||||
{ |
||||
/** |
||||
* {@inheritdoc} |
||||
*/ |
||||
public function safeUp() |
||||
{ |
||||
(new m140506_102106_rbac_init(['db' => $this->db]))->up(); |
||||
(new m170907_052038_rbac_add_index_on_auth_assignment_user_id(['db' => $this->db]))->up(); |
||||
} |
||||
|
||||
/** |
||||
* {@inheritdoc} |
||||
*/ |
||||
public function safeDown() |
||||
{ |
||||
(new m170907_052038_rbac_add_index_on_auth_assignment_user_id(['db' => $this->db]))->up(); |
||||
(new m140506_102106_rbac_init(['db' => $this->db]))->up(); |
||||
} |
||||
} |
Loading…
Reference in new issue