scraps/backend/drizzle/0011_add_roll_cost_override.sql
End Nightshade e55b939c3f
feat(shop): add admin roll cost override
- New nullable roll_cost_override column on shop_items (migration 0011)
- calculateRollCost uses override if set, otherwise auto-calculates
- Admin UI: new 'roll cost override' input with auto placeholder + reset button
- EV simulation and item cards respect the override
- Frontend shop page + ShopItemModal use override for display and affordability
- Backend try-luck endpoint uses override from locked row
2026-02-19 19:28:44 -07:00

1 line
66 B
SQL

ALTER TABLE "shop_items" ADD COLUMN "roll_cost_override" integer;