brackt/scripts
Chris Parsons bc0f5301af
fix(backfill-cli): wrap runBackfill in DatabaseContext.run
The orchestrator uses database() from ~/database/context, which requires
AsyncLocalStorage to be populated. Wrap the CLI invocation with
DatabaseContext.run(db, ...) using server/db's cached connection pool.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-01 21:01:13 +00:00
..
__tests__ scripts: add backfill orchestrator for canonical layer 2026-05-01 20:57:38 +00:00
backfill scripts: add extractTournamentIdentity helper for backfill 2026-05-01 20:47:23 +00:00
backfill-canonical-layer.ts scripts: add backfill orchestrator for canonical layer 2026-05-01 20:57:38 +00:00
backfill-cli.ts fix(backfill-cli): wrap runBackfill in DatabaseContext.run 2026-05-01 21:01:13 +00:00
build-server.mjs refactor: migrate server code from JavaScript to TypeScript with build pipeline 2025-10-18 22:16:04 -07:00
capture-baseline.ts Fix capture-baseline.ts: postgres-js returns rows directly 2026-05-01 06:07:14 +00:00
migrate-clerk-passwords.mjs Migrate authentication from Clerk to BetterAuth (#324) 2026-04-24 22:00:49 -07:00
migrate.mjs Fix migrate.mjs: also convert leagues.created_by from Clerk IDs to UUIDs 2026-04-24 22:46:14 -07:00
sync-prod-db.sh Load PROD_DATABASE_URL from .env automatically (#259) 2026-04-03 15:38:09 -07:00