orderBy('id') ->get() ->each(function (Project $project): void { BoardColumn::factory() ->count(3) ->sequence( ['name' => 'Todo', 'position' => 1], ['name' => 'In Progress', 'position' => 2], ['name' => 'Done', 'position' => 3], ) ->for($project) ->create(); }); } }