- 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>
8 lines
334 B
SQL
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;
|