diff --git a/composer.json b/composer.json index a82b810..e75bb40 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "name": "fleetbase/core-api", - "version": "1.6.41", + "version": "1.6.42", "description": "Core Framework and Resources for Fleetbase API", "keywords": [ "fleetbase", diff --git a/src/Console/Commands/SyncSandbox.php b/src/Console/Commands/SyncSandbox.php index c8ceebe..5a0081f 100644 --- a/src/Console/Commands/SyncSandbox.php +++ b/src/Console/Commands/SyncSandbox.php @@ -79,7 +79,7 @@ public function handle() foreach ($all as $record) { // Clone record $clone = collect($record->toArray()) - ->only($record->getFillable()) + ->only(['uuid', 'created_at', 'updated_at', ...$record->getFillable()]) ->toArray(); if (!isset($clone['uuid']) || !is_string($clone['uuid'])) {