scraps/backend
End Nightshade 85683b860a fix(admin): decrement stock on restore, preserve notes/isFulfilled/updatedAt
- Restore handler now decrements shop_items.count for purchase/luck_win
  orders (reverses the increment from delete), with GREATEST(..., 0) guard
- Delete handler now selects notes, isFulfilled, updatedAt so they're
  included in the archived deleted_payload JSONB
- Restore INSERT now includes notes, is_fulfilled, updated_at columns
2026-02-22 17:04:45 -08:00
..
dist chore(backend): rebuild dist 2026-02-22 17:04:45 -08:00
drizzle fix(admin): fix order delete/restore with single JSONB payload archive 2026-02-22 17:04:45 -08:00
src fix(admin): decrement stock on restore, preserve notes/isFulfilled/updatedAt 2026-02-22 17:04:45 -08:00
.gitignore add in dash and stuff 2026-01-30 10:15:24 -05:00
bun.lock add in loops and airtable syncs 2026-02-06 17:07:10 -05:00
Dockerfile before mobile optimize 2026-02-03 15:56:26 -05:00
drizzle.config.ts add in dash and stuff 2026-01-30 10:15:24 -05:00
package.json push push push spsuh push psuh 2026-02-16 20:16:12 -05:00
README.md PUBLIC RELEASE: add in some checks and readme 2026-02-04 13:29:57 -05:00
tsconfig.json add in dash and stuff 2026-01-30 10:15:24 -05:00

scraps backend

just don't