Update source into github

This commit is contained in:
pbao9
2025-07-24 16:18:27 +07:00
parent 41419358dd
commit 69851ac7bc
2642 changed files with 284095 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
<?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 AdminSeeder extends Seeder
{
/**
* Run the database seeds.
*/
public function run(): void
{
DB::table('user')->insert([
'firstname' => 'Admin',
'lastname' => 'System',
'username' => 'admin',
'email' => 'admin@example.com',
'email_verified_at' => now(),
'password' => Hash::make('123456789'),
'status' => 1,
'created_at' => now(),
'updated_at' => now(),
]);
}
}