Private
Public Access
1
0
Commit Graph

2 Commits

Author SHA1 Message Date
Catherine Renelle 10bbca84be Make SimpleFIN split migration run only once
Track completion in a `data_migrations` table. On startup the
migration checks if it has already been applied and skips the
SimpleFIN API calls entirely, avoiding the slow startup.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-09 00:03:10 -05:00
Catherine Renelle f92759bef3 Add startup migration to split existing SimpleFIN connections by institution
Runs once at startup after DB migrations. For each SimpleFIN
connection, re-discovers accounts from the API, groups by
institution, and splits connections that contain accounts from
multiple banks. Existing sync state and account mappings are
preserved.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-08 23:41:11 -05:00