27 lines
595 B
PHP
27 lines
595 B
PHP
<?php
|
|
|
|
namespace Database\Seeders;
|
|
|
|
use Illuminate\Database\Console\Seeds\WithoutModelEvents;
|
|
use Illuminate\Database\Seeder;
|
|
use App\Models\User;
|
|
|
|
class UserSeeder extends Seeder
|
|
{
|
|
/**
|
|
* Run the database seeds.
|
|
*/
|
|
public function run(): void
|
|
{
|
|
User::create([
|
|
'name' => 'Prajwal Adhikari',
|
|
'email' => 'prajwalbro@hotmail.com',
|
|
'username' => 'prajwalbro',
|
|
'password' => '$2y$10$3zlF9VeXexzWKRDPZuDio.W7RZIC3tU.cjwMoLzG8ki8bVwAQn1WW',
|
|
'status' => 1,
|
|
'role' => 'super_admin'
|
|
|
|
]);
|
|
}
|
|
}
|