These docs are for v8.3.6. Click to read the latest docs for v8.6.3.

Asset Counter Sync

This command should never need to be run manually, but we provide it just in case something went wrong during the single-use migration that is responsible for updating the counters of the number of checkouts, checkins and requests.

# Reset asset checkin/checkout/request counters
php artisan snipeit:counter-sync

This command walks through your list of assets and totals up the number of checkouts/checkins/requests, and then populates the corresponding fields on the assets table.