diff --git a/database/migrations/20200324080953_update_admin_menu_data.php b/database/migrations/20200324080953_update_admin_menu_data.php index aa50f50..dc22225 100644 --- a/database/migrations/20200324080953_update_admin_menu_data.php +++ b/database/migrations/20200324080953_update_admin_menu_data.php @@ -51,7 +51,7 @@ class UpdateAdminMenuData extends Migrator { $this->execute('UPDATE `admin_menu` SET `fid` = 73, `show` = 0, `level` = 2, `log` = 0, `permission` = 0, `method` = 2 WHERE `id` = 1;'); $this->execute('UPDATE `admin_menu` SET `fid` = 73, `show` = 0, `level` = 2, `log` = 1, `permission` = 0, `method` = 1 WHERE `id` = 2;'); $this->execute('UPDATE `admin_menu` SET `fid` = 73, `show` = 0, `level` = 2, `log` = 1, `permission` = 1, `method` = 2 WHERE `id` = 67;'); - $this->execute('UPDATE `admin_menu` SET `fid` = 73, `show` = 0, `level` = 2, `log` = 1, `permission` = 1, `method` = 1 WHERE `id` = 68;'); + $this->execute('UPDATE `admin_menu` SET `fid` = 73, `show` = 0, `level` = 2, `log` = 1, `permission` = 1, `method` = 2 WHERE `id` = 68;'); $this->execute('UPDATE `admin_menu` SET `fid` = 73, `show` = 0, `level` = 2, `log` = 0, `permission` = 1, `method` = 1 WHERE `id` = 70;'); } } diff --git a/database/migrations/20200614170824_change_menu_fid.php b/database/migrations/20200614170824_change_menu_fid.php index d3470ce..be8db9b 100644 --- a/database/migrations/20200614170824_change_menu_fid.php +++ b/database/migrations/20200614170824_change_menu_fid.php @@ -26,6 +26,5 @@ class ChangeMenuFid extends Migrator { */ public function up() { $this->execute('UPDATE `admin_menu` SET `fid` = 30 WHERE `id` = 37 OR `id` = 38;'); - $this->execute('UPDATE `admin_menu` SET `method` = 2 WHERE `id` = 68;'); } }