field job added option to add multiple contracts to user at once

This commit is contained in:
Simon Pocrnjič
2025-10-16 21:28:40 +02:00
parent e782bcca7c
commit 04f31e62aa
8 changed files with 247 additions and 18 deletions
+2
View File
@@ -3,6 +3,7 @@
namespace Database\Factories;
use Illuminate\Database\Eloquent\Factories\Factory;
use App\Models\Segment;
/**
* @extends \Illuminate\Database\Eloquent\Factories\Factory<\App\Models\Action>
@@ -19,6 +20,7 @@ public function definition(): array
return [
'name' => $this->faker->unique()->words(2, true),
'color_tag' => $this->faker->optional()->safeColorName(),
'segment_id' => Segment::factory(),
];
}
}