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.
 
 
 

97 lines
2.7 KiB

<?php
namespace Database\Seeds\InitData;
use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;
class BlockControlAdminPermissionsTableSeeder extends Seeder
{
/**
* Auto generated seed file
*
* @return void
*/
public function run()
{
DB::table('block_control_admin_permissions')->delete();
DB::table('block_control_admin_permissions')->insert(array(
0 =>
array(
'id' => 1,
'name' => 'Auth management',
'slug' => 'auth-management',
'http_method' => '',
'http_path' => '',
'order' => 1,
'parent_id' => 0,
'created_at' => '2020-07-27 11:28:50',
'updated_at' => NULL,
),
1 =>
array(
'id' => 2,
'name' => 'Users',
'slug' => 'users',
'http_method' => '',
'http_path' => '/auth/users*',
'order' => 2,
'parent_id' => 1,
'created_at' => '2020-07-27 11:28:50',
'updated_at' => NULL,
),
2 =>
array(
'id' => 3,
'name' => 'Roles',
'slug' => 'roles',
'http_method' => '',
'http_path' => '/auth/roles*',
'order' => 3,
'parent_id' => 1,
'created_at' => '2020-07-27 11:28:50',
'updated_at' => NULL,
),
3 =>
array(
'id' => 4,
'name' => 'Permissions',
'slug' => 'permissions',
'http_method' => '',
'http_path' => '/auth/permissions*',
'order' => 4,
'parent_id' => 1,
'created_at' => '2020-07-27 11:28:50',
'updated_at' => NULL,
),
4 =>
array(
'id' => 5,
'name' => 'Menu',
'slug' => 'menu',
'http_method' => '',
'http_path' => '/auth/menu*',
'order' => 5,
'parent_id' => 1,
'created_at' => '2020-07-27 11:28:50',
'updated_at' => NULL,
),
5 =>
array(
'id' => 6,
'name' => 'Operation log',
'slug' => 'operation-log',
'http_method' => '',
'http_path' => '/auth/logs*',
'order' => 6,
'parent_id' => 1,
'created_at' => '2020-07-27 11:28:50',
'updated_at' => NULL,
),
));
}
}