Commit 2e81012
feat: migrate persistence from PostgreSQL/Ecto to VeriSimDB
Rewrite DbStore to use VeriSimDB octad API instead of Ecto/Repo.
Extend VeriSimDB.Client with generic CRUD operations (create_octad,
get_octad, update_octad, delete_octad, list_octads). Remove ecto_sql
and postgrex dependencies. Clean Ecto config from config.exs and
dev.exs. Disable Repo supervisor in application.ex. Public DbStore API
unchanged — callers (NativeBridge, Auth, SettingsStore) need no changes.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 5d46597 commit 2e81012
6 files changed
Lines changed: 383 additions & 221 deletions
File tree
- backend
- config
- lib/stapeln
- verisimdb
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
20 | 14 | | |
21 | 15 | | |
22 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | 3 | | |
15 | 4 | | |
16 | 5 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | 10 | | |
20 | 11 | | |
21 | 12 | | |
22 | 13 | | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
| 14 | + | |
27 | 15 | | |
28 | 16 | | |
29 | 17 | | |
| |||
0 commit comments