Adding database/seeders/ProductionSeeder.php
This commit is contained in:
parent
5867ab3f1a
commit
931996004e
1 changed files with 36 additions and 0 deletions
36
database/seeders/ProductionSeeder.php
Normal file
36
database/seeders/ProductionSeeder.php
Normal file
|
|
@ -0,0 +1,36 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace Database\Seeders;
|
||||||
|
|
||||||
|
use App\Models\Admin;
|
||||||
|
use App\Models\Character;
|
||||||
|
use App\Models\Setting;
|
||||||
|
use Illuminate\Database\Seeder;
|
||||||
|
|
||||||
|
class ProductionSeeder extends Seeder
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* Seed the application's database with production data.
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
public function run()
|
||||||
|
{
|
||||||
|
$this->call(WrathRaidSeeder::class);
|
||||||
|
|
||||||
|
// Create admins :)
|
||||||
|
Admin::create([
|
||||||
|
'username' => 'pnx',
|
||||||
|
'password' => '$2y$10$GAxLXYfWSVnlZmeJxxGPauTDxXdv9k7hgVDPGttb0sT0q6ndFvg/O',
|
||||||
|
'created_at' => '2021-11-14 14:24:42',
|
||||||
|
'updated_at' => '2021-11-14 14:24:42'
|
||||||
|
]);
|
||||||
|
|
||||||
|
Admin::create([
|
||||||
|
'username' => 'sweetie',
|
||||||
|
'password' => '$2y$10$yNYLUIXHB8QwNRwW96JFBuoK78vCbTuXcG0WR8BJl029d5A7wpx7u',
|
||||||
|
'created_at' => '2022-01-09 16:30:33',
|
||||||
|
'updated_at' => '2022-01-09 16:30:33'
|
||||||
|
]);
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in a new issue