mirror of
https://github.com/Mezeporta/Erupe.git
synced 2026-03-22 07:32:32 +01:00
The ON CONFLICT upsert referenced unqualified "bought" which PostgreSQL rejected as ambiguous, and the table lacked the UNIQUE constraint needed for ON CONFLICT. Adds a unique index on (character_id, shop_item_id) via migration 0003 and qualifies the column as shop_items_bought.bought.