Skip to content

Fixes to sql CREATE TABLE parsing and DB export#21

Open
enisrat wants to merge 1 commit into
pawlaszczyk:masterfrom
enisrat:master
Open

Fixes to sql CREATE TABLE parsing and DB export#21
enisrat wants to merge 1 commit into
pawlaszczyk:masterfrom
enisrat:master

Conversation

@enisrat
Copy link
Copy Markdown

@enisrat enisrat commented Apr 28, 2026

  • Some simple fix to duplicate column names in e.g. :
"some_column" TEXT DEFAULT NULL CHECK("some_column" LIKE 'FOO:') UNIQUE

This fixes it for now, but the parser should be made aware when inside CHECK()

- CHECK(...) in Column definition would lead to duplicate column name
- If type empty, DEFAULT kw used erroneously as type
In export to DB, exclude Virtual Table (e.g. fts3-5) for now
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.

1 participant