Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fall back to SQL for unconvertible column constraint options in CREATE TABLE statements #550

Merged
merged 1 commit into from
Dec 19, 2024

Conversation

andrew-farries
Copy link
Collaborator

Fall back to raw SQL for unsupported constraint options for:

  • PRIMARY KEY constraints
  • CHECK constraints
  • UNIQUE constraints
  • FOREIGN KEY constraints

in CREATE TABLE statements.

Also add tests to ensure that named inline constraints fall back to raw SQL.

Fall back to SQL for unsupported constraint options for:
  * `PRIMARY KEY` constraints
  * `CHECK` constraints
  * `UNIQUE` constraints
  * `FOREIGN KEY` constraints

In `CREATE TABLE` statements.

Also add tests to ensure that named inline constraints fall back to raw
SQL.
@andrew-farries andrew-farries marked this pull request as ready for review December 19, 2024 09:18
@andrew-farries andrew-farries merged commit 3d0b93f into main Dec 19, 2024
28 checks passed
@andrew-farries andrew-farries deleted the unconvertible-table-constraints branch December 19, 2024 12:54
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.

2 participants