Implement board columns and project workflow settings

This commit is contained in:
2026-03-25 01:16:09 +01:00
parent 840d01f6fc
commit 3f9b83ec16
17 changed files with 895 additions and 1 deletions
+27
View File
@@ -0,0 +1,27 @@
<?php
namespace Database\Factories;
use App\Models\BoardColumn;
use App\Models\Project;
use Illuminate\Database\Eloquent\Factories\Factory;
/**
* @extends Factory<BoardColumn>
*/
class BoardColumnFactory extends Factory
{
/**
* Define the model's default state.
*
* @return array<string, mixed>
*/
public function definition(): array
{
return [
'name' => fake()->unique()->words(2, true),
'position' => 1,
'project_id' => Project::factory(),
];
}
}