mirror of
https://gitee.com/hzchunfen/erp.git
synced 2025-12-01 06:30:49 +00:00
20 lines
350 B
PHP
20 lines
350 B
PHP
|
|
<?php
|
||
|
|
|
||
|
|
use Illuminate\Database\Seeder;
|
||
|
|
use Illuminate\Support\Facades\DB;
|
||
|
|
|
||
|
|
class RolesTableSeeder extends Seeder
|
||
|
|
{
|
||
|
|
/**
|
||
|
|
* Run the database seeds.
|
||
|
|
*
|
||
|
|
* @return void
|
||
|
|
*/
|
||
|
|
public function run()
|
||
|
|
{
|
||
|
|
DB::table('permissions')->insert([
|
||
|
|
['name' => '超级管理员', 'guard_name' => 'api'],
|
||
|
|
]);
|
||
|
|
}
|
||
|
|
}
|