n8n/packages/cli/test
Arvin Ansari 7a94f78122
fix(core): Read index columns by depth, not by the last parenthesis (no-changelog)
Fixes the shapes the ten cases on this branch already describe, so they pass.

`parseIndexColumns` scans to the first unquoted `(`, walks to its matching
close, and splits on commas at depth one. Quoted spans are skipped, so a
parenthesis or comma inside an identifier or a string literal in a predicate
does not move the depth.

The expectations were already right. Only the parser changes.

Also softens the note on `getTable()`. With no `ORDER BY`, the row order is
unspecified rather than table-definition order, so neither reading is safe to
rely on.
2026-09-03 14:55:05 +02:00
..
integration Merge branch 'master' into context-98-activity-event-table-and-migration-no-reader-no-writer 2026-09-02 11:15:10 +02:00
migration fix(core): Read index columns by depth, not by the last parenthesis (no-changelog) 2026-09-03 14:55:05 +02:00
shared feat(core): Add the workflow review activity feed (no-changelog) (#35791) 2026-08-11 14:20:01 +00:00
unit test(core): Cover the index DDL shapes indexColumnsInOrder gets wrong (no-changelog) 2026-09-02 20:35:48 -04:00
extend-expect.ts test: Migrate cli package from Jest to Vitest (#31804) 2026-06-29 21:19:56 +03:00
global-setup.ts chore: Remove references to Jest (#33282) 2026-07-01 09:03:25 +00:00
setup-mocks.ts test: Migrate cli package from Jest to Vitest (#31804) 2026-06-29 21:19:56 +03:00
setup-test-folder.ts chore: Initial V2 changes (#22553) 2025-12-01 20:44:59 +02:00
setup-testcontainers.ts test: Migrate cli package from Jest to Vitest (#31804) 2026-06-29 21:19:56 +03:00