Add BinderSlot entity and migration for Card Binder schema (#495) #575

Merged
Vylpes merged 1 commit from cursor/495-card-binder-schema into feature/epic-281-card-binder 2026-11-19 11:48:54 +00:00
Member

Summary

Adds the BinderSlot TypeORM entity and 0.12 migration so Card Binder layout can be persisted (story #495 / epic #281).

Changes

  • New BinderSlot entity (UserId, PageNumber, SlotIndex, CardNumber) with fetch helpers
  • Migration 1795086361438-createBinderSlot + SQL up/down for binder_slot
  • Unit tests for entity construction and 1-based slot/page conventions
  • Docs in docs/binder.md (+ CHANGELOG / development.md link)

Notes

  • No DB FK on UserId (matches inventory / multidrop / user_effect); integrity is app-level
  • PageNumber / SlotIndex are not DB-capped (app currently uses up to 3 pages × 9 slots)
  • Does not close #495 — needs human review then QA on release/0.12.0

Verification

  • yarn build / yarn lint / yarn test — 36 suites, 233 passed
## Summary Adds the `BinderSlot` TypeORM entity and `0.12` migration so Card Binder layout can be persisted (story #495 / epic #281). ## Changes - New `BinderSlot` entity (`UserId`, `PageNumber`, `SlotIndex`, `CardNumber`) with fetch helpers - Migration `1795086361438-createBinderSlot` + SQL up/down for `binder_slot` - Unit tests for entity construction and 1-based slot/page conventions - Docs in `docs/binder.md` (+ CHANGELOG / development.md link) ## Notes - No DB FK on `UserId` (matches `inventory` / `multidrop` / `user_effect`); integrity is app-level - `PageNumber` / `SlotIndex` are not DB-capped (app currently uses up to 3 pages × 9 slots) - Does **not** close #495 — needs human review then QA on `release/0.12.0` ## Verification - `yarn build` / `yarn lint` / `yarn test` — 36 suites, 233 passed
Add BinderSlot entity and migration for Card Binder schema (#495)
All checks were successful
Test / build (push) Successful in 1m22s
6f772fe38c
Vylpes changed target branch from release/0.12.0 to feature/epic-281-card-binder 2026-11-19 11:47:37 +00:00
Vylpes approved these changes 2026-11-19 11:48:51 +00:00
Vylpes merged commit bb1e014b19 into feature/epic-281-card-binder 2026-11-19 11:48:54 +00:00
Vylpes deleted branch cursor/495-card-binder-schema 2026-11-19 11:48:54 +00:00
Sign in to join this conversation.
No description provided.