Commit 5e9875e
committed
fix(stack): correct stale slug in v3 drizzle tests (eql_v3. -> public.)
The rebase moved the v3 catalog keys from eql_v3.* to public.*, but the
drizzle-v3 test slug helper still stripped the 'eql_v3.' prefix — a no-op
against public.* keys. It left every matrix column named 'public.<domain>'
(with a dot) instead of '<domain>'. The mocked unit suites passed (they assert
slug() against itself), but the LIVE operators-live-pg matrix failed at
bulkEncryptModels with 'Cannot convert undefined or null to object' because
protect-ffi cannot resolve a dotted column identifier. Strip '^public.' to
match the passing v3-matrix suites (matrix-live-pg) and yield clean column
names. Test-only; no source change.1 parent dcae4a2 commit 5e9875e
3 files changed
Lines changed: 3 additions & 3 deletions
File tree
- packages/stack/__tests__/drizzle-v3
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
| 57 | + | |
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| |||
0 commit comments