1234567891011121314151617181920212223242526272829 |
- <?php
- /*
- * This file is part of the Jiannei/lumen-api-starter.
- *
- * (c) Jiannei <longjian.huang@foxmail.com>
- *
- * This source file is subject to the MIT license that is bundled
- * with this source code in the file LICENSE.
- */
- use Illuminate\Database\Seeder;
- class DatabaseSeeder extends Seeder
- {
- /**
- * Run the database seeds.
- */
- public function run()
- {
- // $this->call(PermissionsSeeder::class);
- // $this->call(AdminsSeeder::class);
- \App\Repositories\Models\Admin::query()->create([
- 'name' => '超级管理员',
- 'username' => 'superadmin',
- 'password' => bcrypt('123456')
- ]);
- }
- }
|