Fix Bulk Accessories Logs
In previous versions of Snipe-IT, it was possible that incorrect timestamps were written to the action log when accessories were checked in as part of a bulk checkin of users. A console command is available that will attempt to fix the action log timestamps for bulk checkins that also included checkins for other item types like assets or licenses.
# Fix timestamps for accessories that were part of a bulk checkin
php artisan snipeit:fix-bulk-accessory-action-log-entries
Optionally you use the --dry-run
flag to preview changes and --skip-backup
to skip backing up the system before executing the changes.
# Fix timestamps for accessories that were part of a bulk checkin
php artisan snipeit:fix-bulk-accessory-action-log-entries --dry-run
# Fix timestamps for accessories that were part of a bulk checkin
php artisan snipeit:fix-bulk-accessory-action-log-entries --skip-backup
Updated about 7 hours ago