Feat: Make some entities soft-deletable
This commit is contained in:
@@ -94,6 +94,7 @@ class BpnImportCommand extends Command
|
||||
'product' => $product,
|
||||
'pickups' => json_encode($datePickups),
|
||||
'country' => $hotel->getCountry(),
|
||||
'updated_at' => (new \DateTimeImmutable())->format('Y-m-d H:i:s')
|
||||
], [
|
||||
'id' => $id,
|
||||
'hotel_bus_pro_id' => $hotelBusProId,
|
||||
@@ -114,6 +115,7 @@ class BpnImportCommand extends Command
|
||||
'hotel_bus_pro_id' => $hotelBusProId,
|
||||
'pickups' => json_encode($datePickups),
|
||||
'country' => $hotel->getCountry(),
|
||||
'created_at' => (new \DateTimeImmutable())->format('Y-m-d H:i:s')
|
||||
])
|
||||
;
|
||||
++$addedCount;
|
||||
|
||||
Reference in New Issue
Block a user