This commit is contained in:
2026-02-10 16:11:19 +07:00
parent 9f57d3d95a
commit 21ad516dce
8 changed files with 214 additions and 2 deletions
+25
View File
@@ -0,0 +1,25 @@
<?php
namespace Database\Seeders;
use Illuminate\Database\Console\Seeds\WithoutModelEvents;
use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Hash;
class AdminUserSeeder extends Seeder
{
/**
* Run the database seeds.
*/
public function run(): void
{
DB::table('users')->insert([
'name' => 'Admin',
'email' => 'admin@dbpetani.com',
'password' => Hash::make('Asalada123'),
'created_at' => now(),
'updated_at' => now(),
]);
}
}