- 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) |
||
|---|---|---|
| .. | ||
| 0000_snapshot.json | ||
| 0001_snapshot.json | ||
| 0002_snapshot.json | ||
| 0003_snapshot.json | ||
| 0004_snapshot.json | ||
| _journal.json | ||