Initial commit

This commit is contained in:
James
2024-12-03 21:27:44 +01:00
commit 613e1a767c
125 changed files with 16298 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
<?php
declare(strict_types=1);
namespace Database\Seeders;
use App\Models\User;
// use Illuminate\Database\Console\Seeds\WithoutModelEvents;
use App\Models\Wallet;
use Illuminate\Database\Seeder;
class DatabaseSeeder extends Seeder
{
/**
* Seed the application's database.
*/
public function run(): void
{
User::factory()->has(Wallet::factory()->richChillGuy())->create([
'name' => 'Rich Chill Guy',
'email' => 'rich.chill.guy@test.fr',
]);
User::factory()->has(Wallet::factory())->create([
'name' => 'Another Guy',
'email' => 'another.guy@test.fr',
]);
}
}