seeder wip
This commit is contained in:
1 parent
1d16946f20
commit
005924ef8a
34 files changed
+286
-325
No files matched your search
@@ -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',
|
||||
|
||||
Reference in new issue
Block a user