-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Check constraint validation attribute convention #15410
Comments
If this enhancement was implemented, would the following case be supported? When I add the ALTER TABLE MyModel
ADD CONSTRAINT CK_Table_Column_Range CHECK (
Column >= 0 AND Column <= 10
) |
@nphmuller Yes, that's how it would work. Though you might need to enable the convention first. |
Notes from triage:
|
Would we simply do this in the external check constraint plugin instead? See efcore/EFCore.CheckConstraints#5 |
Closing, to be done as part of an external plugin (efcore/EFCore.CheckConstraints#5) |
Suggested by @bricelam:
The text was updated successfully, but these errors were encountered: