felt/internal/store/migrations/006_seating_hfh.sql
Mikkel Georgsen e947ab1c47 feat(01-08): implement table management, auto-seating, blueprints, and hand-for-hand
- TableService with CRUD, AssignSeat, AutoAssignSeat (fills evenly), MoveSeat, SwapSeats
- Dealer button tracking with SetDealerButton and AdvanceDealerButton (skips empty seats)
- Hand-for-hand mode with per-table completion tracking and clock integration
- BlueprintService with CRUD, SaveBlueprintFromTournament, CreateTablesFromBlueprint
- Migration 006 adds hand_for_hand_hand_number and hand_completed columns

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-01 04:10:28 +01:00

8 lines
334 B
SQL

-- 006_seating_hfh.sql
-- Add hand-for-hand columns for table-level completion tracking
-- Tournament-level hand-for-hand counter
ALTER TABLE tournaments ADD COLUMN hand_for_hand_hand_number INTEGER NOT NULL DEFAULT 0;
-- Table-level hand completion tracking
ALTER TABLE tables ADD COLUMN hand_completed INTEGER NOT NULL DEFAULT 0;