candle-annotator/scripts
Marko Djordjevic d5fc4662e9 fix: replace all SQLite references with PostgreSQL in scripts and lazy-init db connection
- Rewrite scripts/run-migrations.js for PostgreSQL (was better-sqlite3)
- Rewrite scripts/load-initial-data.js for PostgreSQL (was better-sqlite3)
- Make db connection lazy in src/lib/db/index.ts to avoid build-time errors
  when DATABASE_URL is not available in Docker build stage
2026-02-17 23:48:47 +01:00
..
import_talib_annotations.ts fix: correct timestamp/boolean types for PostgreSQL schema (Date not int, bool not 0/1) 2026-02-17 22:50:31 +01:00
list_charts.ts fix: correct timestamp/boolean types for PostgreSQL schema (Date not int, bool not 0/1) 2026-02-17 22:50:31 +01:00
load-initial-data.js fix: replace all SQLite references with PostgreSQL in scripts and lazy-init db connection 2026-02-17 23:48:47 +01:00
migrate-sqlite-to-postgres.py feat: add Python migration script and successfully test SQLite to PostgreSQL data migration 2026-02-17 14:01:21 +01:00
run-migrations.js fix: replace all SQLite references with PostgreSQL in scripts and lazy-init db connection 2026-02-17 23:48:47 +01:00
seed-span-labels.ts feat: add database schema, migrations, and API endpoints for span annotations 2026-02-14 05:56:28 +01:00
startup.sh fix: resolve database migration failures and startup ordering 2026-02-16 19:59:47 +01:00