mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-28 01:04:45 +02:00
Create these one by one
This commit is contained in:
parent
b4e8f0586a
commit
8d33e20f6c
@ -101,7 +101,10 @@ class AssignmentService
|
||||
];
|
||||
}
|
||||
|
||||
$ids[] = Allocation::query()->insertOrIgnore($insertData);
|
||||
foreach ($insertData as $insert) {
|
||||
$allocation = Allocation::query()->create($insert);
|
||||
$ids[] = $allocation->id;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user