Implement ticket statuses

This commit is contained in:
2026-04-14 03:09:12 +02:00
parent 2dc12c5d60
commit 8f4a8276ac
40 changed files with 1602 additions and 100 deletions
+8 -1
View File
@@ -25,7 +25,14 @@ class BoardColumnSeeder extends Seeder
['name' => 'Done', 'position' => 3],
)
->for($project)
->create();
->create()
->each(function (BoardColumn $boardColumn): void {
$boardColumn->ticketStatuses()->create([
'name' => $boardColumn->name,
'position' => 1,
'project_id' => $boardColumn->project_id,
]);
});
});
}
}