Add Skins format, GolfCourseAPI import, and UX improvements
- Add Skins game format with optional carryover, mirroring BBB scoring pattern
- Add GolfCourseAPI integration for course search and import (httpx)
- Unwrap {"course": {}} API response envelope on import
- Add searchable course combobox and player filter to new game form
- Redirect to summary page after finishing a game
- Fix auth to allow registered users without a pending invitation
- Fix hardcoded BBB format in create_game; store carryover flag in DB
- Add game summary/scorecard view for completed games
- Add live games social stream to dashboard
- Add course name + subtitle to recent game cards
- Reorder nav: Home → Games → Admin → Profile
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -120,6 +120,7 @@ async def init_db():
|
||||
"ALTER TABLE games ADD COLUMN course_id TEXT REFERENCES courses(id)",
|
||||
"ALTER TABLE game_players ADD COLUMN tee_id TEXT REFERENCES course_tees(id)",
|
||||
"ALTER TABLE course_holes ADD COLUMN stroke_index INTEGER",
|
||||
"ALTER TABLE games ADD COLUMN carryover INTEGER NOT NULL DEFAULT 1",
|
||||
]:
|
||||
try:
|
||||
await db.execute(migration)
|
||||
|
||||
Reference in New Issue
Block a user