Skip to content

Commit

Permalink
不添加用户
Browse files Browse the repository at this point in the history
  • Loading branch information
xutl committed Sep 11, 2017
1 parent 736770e commit 5e46014
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions migrations/M170123113843Create_admin_rbac_table.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,6 @@ public function up()

//给超级管理员组授权
$this->insert('{{%admin_auth_item_child}}', ['parent' => 'Super Administrator', 'child' => '/*']);

//给超级管理员授权
$this->insert('{{%admin_auth_assignment}}', ['item_name' => 'Super Administrator', 'user_id' => 1, 'created_at' => time()]);
}

public function down()
Expand Down

0 comments on commit 5e46014

Please sign in to comment.