candle-annotator/scripts
Marko Djordjevic 2bde38d0bf fix: resolve database migration failures and startup ordering
- Add scripts/run-migrations.js to run migrations before data loading
- Fix startup.sh ordering: migrations -> data load -> app start
- Fix migration 0005 missing statement-breakpoint between ALTER TABLE statements
- Add migration 0005 to drizzle journal (was missing)
- Fix load-initial-data.js to check table existence before querying
- Fix load-initial-data.js to create chart record before inserting candles (chart_id NOT NULL constraint)
- Simplify db/index.ts migration error handling (remove overly broad 'already exists' catch)
- Add pre-migration check for inconsistent DB state (tables without migration tracking)
2026-02-16 19:59:47 +01:00
..
import_talib_annotations.ts fix(scripts): add created_at timestamps to annotation import 2026-02-15 19:36:55 +01:00
list_charts.ts fix(ml): add CCI to hlc_indicators list 2026-02-15 21:08:20 +01:00
load-initial-data.js fix: resolve database migration failures and startup ordering 2026-02-16 19:59:47 +01:00
run-migrations.js fix: resolve database migration failures and startup ordering 2026-02-16 19:59: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