2025-10-16 14:22:46 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
namespace Database\Seeders;
|
|
|
|
|
|
|
|
|
|
use App\Models\User;
|
|
|
|
|
// use Illuminate\Database\Console\Seeds\WithoutModelEvents;
|
|
|
|
|
use Illuminate\Database\Seeder;
|
|
|
|
|
|
|
|
|
|
class DatabaseSeeder extends Seeder
|
|
|
|
|
{
|
|
|
|
|
/**
|
|
|
|
|
* Seed the application's database.
|
|
|
|
|
*/
|
|
|
|
|
public function run(): void
|
|
|
|
|
{
|
|
|
|
|
// User::factory(10)->create();
|
|
|
|
|
|
2025-10-20 20:48:48 +02:00
|
|
|
User::factory()->withoutTwoFactor()->create([
|
2025-10-16 14:22:46 +02:00
|
|
|
'name' => 'Test User',
|
|
|
|
|
'email' => 'test@example.com',
|
|
|
|
|
]);
|
2025-10-20 20:48:48 +02:00
|
|
|
|
2025-11-21 10:32:15 +01:00
|
|
|
// Note: Company and Transaction data is now synced from the backend
|
|
|
|
|
// via TransformDataPoolToProduction job, not seeded manually
|
2025-10-16 14:22:46 +02:00
|
|
|
}
|
|
|
|
|
}
|