1234567891011121314151617181920 |
- <?php
-
- namespace Database\Seeders;
-
- use Illuminate\Database\Seeder;
- use Illuminate\Support\Facades\Hash;
- use Illuminate\Support\Facades\DB;
-
- class AdminSeeder extends Seeder
- {
- public function run()
- {
- DB::table('users')->insert([
- 'name' => 'Admin',
- 'email' => 'tech@mirfalah.my',
- 'password' => Hash::make('M!rf@lah123'),
- 'is_admin' => true,
- ]);
- }
- }
|