Implement ticket statuses
This commit is contained in:
@@ -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,
|
||||
]);
|
||||
});
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user