Files
soroban-abacus-flashcards/apps
Thomas Hallock af8d993628 fix: lazy-load database connection to prevent build-time access
Refactor db/index.ts to use lazy initialization via Proxy pattern.
This prevents the database from being accessed at module import time,
which was causing Next.js build failures in CI/CD environments where
no database file exists.

The database connection is now created only when first accessed at
runtime, allowing static site generation to complete successfully.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-07 08:41:06 -05:00
..