mirror of
https://github.com/rommapp/romm.git
synced 2026-04-18 12:09:38 +00:00
- Use CollectionSchema instead of ReturnType<typeof collectionsStore.getCollection> in AddRoms.vue and RemoveRoms.vue (simpler, per gantoine review) - Wrap bulk INSERT in a savepoint so a concurrent duplicate-key violation is caught via IntegrityError and ignored rather than aborting the transaction - Only bump Collection.updated_at in remove_roms_from_collection when rows were actually deleted (rowcount > 0), matching add_roms_to_collection behavior Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>