- Add charts table with id, name (unique), created_at - Add chart_id FK to candles table with composite unique on (chart_id, time) - Add chart_id FK to annotations table - Custom migration handles existing data: creates 'Imported Data' chart and backfills chart_id - Recreates tables for NOT NULL constraint (SQLite limitation) |
||
|---|---|---|
| .. | ||
| meta | ||
| 0000_goofy_captain_midlands.sql | ||
| 0001_sticky_shinko_yamashiro.sql | ||
| 0002_careful_synch.sql | ||