This commit is contained in:
Adrian Hopek 2022-01-24 10:41:43 +01:00
parent f7a9b4f0d1
commit 03af084c04

View File

@ -20,7 +20,7 @@ class YearPeriodObserver
$users = User::all();
foreach ($users as $user) {
$yearPeriod->vacationLimits()->updateOrCreate([
$yearPeriod->vacationLimits()->create([
"user_id" => $user->id,
]);
}