Skip to content

fix: wrap column names in generated SQL schema files#89

Open
rokf wants to merge 1 commit intosmart-data-models:masterfrom
rokf:73-wrapping
Open

fix: wrap column names in generated SQL schema files#89
rokf wants to merge 1 commit intosmart-data-models:masterfrom
rokf:73-wrapping

Conversation

@rokf
Copy link

@rokf rokf commented Mar 19, 2026

Properties in some of the Smart Data Models
have the same name as reserved keywords in SQL.
The SQL schema files that were generated before
this fix were therefore broken and couldn't
be applied to a database.

This fix quotes all of the column names
in the generated SQL schema file, which
prevents the issue from happening.

Issue: #73

Properties in some of the Smart Data Models
have the same name as reserved keywords in SQL.
The SQL schema files that were generated before
this fix were therefore broken and couldn't
be applied to a database.

This fix quotes all of the column names
in the generated SQL schema file, which
prevents the issue from happening.

Issue: smart-data-models#73
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