Repository navigation
Commit 7590851
fix(ci): apply base schema before migrations on fresh DB
_connect() only called migrate() on a new database, but migrations
assume the base tables (sessions, messages, etc.) already exist.
Apply schema.sql first, matching the pattern in init_db().
This was the root cause of all UAT failures: start_study_session()
returned None because migration v1 failed with "no such table:
sessions".
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 967895c commit 7590851
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
39 | 40 | | |
40 | 41 | | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
41 | 46 | | |
42 | 47 | | |
43 | 48 | | |
| |||
0 commit comments