seeder wip

This commit is contained in:
salam committed 2025-09-26 15:39:52 +02:00
1 parent 1d16946f20
commit 005924ef8a
34 files changed
+286 -325

No files matched your search

+2 -1
View File
@@ -2,6 +2,7 @@
namespace Database\Factories;
use App\Models\Konto;
use Illuminate\Database\Eloquent\Factories\Factory;
/**
@@ -17,7 +18,7 @@ class GutachterFactory extends Factory
public function definition(): array
{
return [
'konto_id' => fake()->numberBetween(1, 7),
'konto_id' => Konto::all()->random()->id,
'name' => fake()->name(),
'address' => fake()->Address(),
'country' => 'Österreich',