You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

30 lines
815 B

<?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();
}
}