-
Notifications
You must be signed in to change notification settings - Fork 695
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: EXPOSED-111 Allow check constraint statements in MySQL8 (#1817)
All databases can have column check constraints included when a table is created, but MySQL is prevented from creating/dropping its constraints using ALTER TABLE. This makes sense given that older MySQL versions simply parsed and ignored any CHECK constraint in the CREATE TABLE statement. But MySQL has bully supported check constraints since version 8.0.16, so this limitation is now removed from newer versions. Additional: - 2 tests that misleading seemed to do nothing were more appropriately named to describe their purpose. - Refactor some tests to remove detekt errors.
- Loading branch information
Showing
3 changed files
with
96 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters