Commit c7d820d
fix(db,tests): export table name variables; fix PG omnibus cleanup
Export vectors_table, waypoints_table, users_table from db.ts following
the same pattern as memories_table and embed_log_table. All four are
set to SQLite bare names by default and overwritten with schema-qualified
PG names in the PG init block.
Update test_omnibus.ts cleanup() to use all exported table name variables
instead of hardcoded strings. Removes the redundant openmemory_vectors
fallback that existed only to paper over the missing variable.
Verified: clean tsc build + all omnibus tests pass against both SQLite
and PostgreSQL (postgres.itsa.house/openmemory_test).
Co-Authored-By: Claude <noreply@anthropic.com>
AI-Generated: true1 parent 68bfede commit c7d820d
2 files changed
+12
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
63 | 66 | | |
64 | 67 | | |
65 | 68 | | |
| |||
118 | 121 | | |
119 | 122 | | |
120 | 123 | | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
121 | 127 | | |
122 | 128 | | |
123 | 129 | | |
| |||
1108 | 1114 | | |
1109 | 1115 | | |
1110 | 1116 | | |
1111 | | - | |
| 1117 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
18 | 17 | | |
19 | 18 | | |
20 | 19 | | |
| |||
0 commit comments