Loading guns & ammo
Creates a Range Sessions row linked to the gun and caliber. On-hand ammo is never stored — it's recomputed as purchased minus fired.
Loading calibers
Appends a row to Ammo Purchases. On-hand counts recompute as purchased minus fired — no manual adjustment.
Loading inventory
Loading firearms
Lifetime rounds and last-fired dates are computed views in Supabase. Add or edit guns directly in the firearms table.