Feat: Make some entities soft-deletable
This commit is contained in:
1 parent
168a69c103
commit
d7bbb4bb29
27 files changed
+213
-63
No files matched your search
@@ -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