Skip to content

Comments

fix: cover more constraint syntax#198

Merged
jinzhu merged 1 commit intogo-gorm:masterfrom
ThisIsAreku:case_insensitive_constraint
Mar 10, 2025
Merged

fix: cover more constraint syntax#198
jinzhu merged 1 commit intogo-gorm:masterfrom
ThisIsAreku:case_insensitive_constraint

Conversation

@ThisIsAreku
Copy link
Contributor

  • Do only one thing
  • Non breaking API changes
  • Tested

What did this pull request do?

SQLite stores the DDL "as-is" in sqlite_master. This new regex covers a broader range of valid syntax for constraints.

User Case Description

See unit tests for additionnal examples

SQLite stores the DDL "as-is" in `sqlite_master`. This new regex covers a broader range of valid syntax for constraints.
@jinzhu jinzhu merged commit 5406e41 into go-gorm:master Mar 10, 2025
3 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.

2 participants