feat: add ordered store migrations
This commit is contained in:
parent
97e9daa118
commit
bf970fdc76
3 changed files with 178 additions and 22 deletions
|
|
@ -120,12 +120,12 @@ and downstream projects.
|
|||
Goal: treat local SQLite state as durable product data before users depend on
|
||||
it.
|
||||
|
||||
- `[ ]` Replace opportunistic schema setup with ordered migrations.
|
||||
- `[x]` Replace opportunistic schema setup with ordered migrations.
|
||||
Acceptance criteria:
|
||||
- `[ ]` The store tracks numeric schema versions.
|
||||
- `[ ]` Each migration is transactional where SQLite supports it.
|
||||
- `[ ]` Fresh database creation and repeated opens are idempotent.
|
||||
- `[ ]` Old schema fixtures migrate to the current schema in tests.
|
||||
- `[x]` The store tracks numeric schema versions.
|
||||
- `[x]` Each migration is transactional where SQLite supports it.
|
||||
- `[x]` Fresh database creation and repeated opens are idempotent.
|
||||
- `[x]` Old schema fixtures migrate to the current schema in tests.
|
||||
|
||||
- `[ ]` Make multi-table writes transactional.
|
||||
Acceptance criteria:
|
||||
|
|
|
|||
Loading…
Reference in a new issue