Skip to content

fix sequence name parsing#15

Merged
DominusKelvin merged 4 commits into
developfrom
feat/fix-sequence-name-parsing
Jan 14, 2026
Merged

fix sequence name parsing#15
DominusKelvin merged 4 commits into
developfrom
feat/fix-sequence-name-parsing

Conversation

@DominusKelvin

Copy link
Copy Markdown
Member

Fixes #13

The previous implementation split by '_' and took only the first segment,
which broke for tables like 'invoice_items' (sequence: 'invoice_items_id_seq'
was incorrectly parsed as 'invoice').

Now properly removes the '_id_seq' or '_seq' suffix to get the full table name.

Fixes #13
The previous implementation split by '_' and took only the first segment,
which broke for tables like 'invoice_items' (sequence: 'invoice_items_id_seq'
was incorrectly parsed as 'invoice').

Now properly removes the '_id_seq' or '_seq' suffix to get the full table name.

Fixes #13
…shq/sails-sqlite into feat/fix-sequence-name-parsing
@DominusKelvin
DominusKelvin merged commit 9dbeb64 into develop Jan 14, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Sequence name parsing fails for tables with underscores

1 participant