Initial commit with contrats and domaines modules

This commit is contained in:
mrKamoo
2026-04-08 18:07:08 +02:00
commit 092a6a0484
191 changed files with 24639 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
<?php
namespace Database\Seeders;
use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\Hash;
use App\Models\User;
class AdminUserSeeder extends Seeder
{
public function run(): void
{
$admin = User::firstOrCreate(
['email' => 'admin@dsi.local'],
[
'name' => 'Administrateur',
'password' => Hash::make('password'),
'email_verified_at' => now(),
'active' => true,
]
);
$admin->assignRole('admin');
}
}