We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Since the SQLAlchemy update to 1.4 the model metadata does not create constraints for Enum columns anymore, see the create_constraints parameter: https://docs.sqlalchemy.org/en/14/core/type_basics.html#sqlalchemy.types.Enum.params.create_constraint
Enum
create_constraints
Edit: The same applies for Boolean types: https://docs.sqlalchemy.org/en/14/core/type_basics.html#sqlalchemy.types.Boolean.params.create_constraint
Boolean
Modify all occurrences of the Enum type in the model and set create_constraints to True.
True
The text was updated successfully, but these errors were encountered:
Database: Add create_constraint parameter; Fix rucio#4737
e8ba8b6
386a88f
Rename SUBS_HISTORY_RETROACTIVE_CHK (as in schema.sql for Oracle)
Merge pull request #4738 from bziemons/patch-4737-create_enums_with_c…
52ce8d4
…onstraint Database: Add create_constraint parameter; Fix #4737
bziemons
Successfully merging a pull request may close this issue.
Motivation
Since the SQLAlchemy update to 1.4 the model metadata does not create constraints for
Enum
columns anymore, see thecreate_constraints
parameter: https://docs.sqlalchemy.org/en/14/core/type_basics.html#sqlalchemy.types.Enum.params.create_constraintEdit: The same applies for
Boolean
types: https://docs.sqlalchemy.org/en/14/core/type_basics.html#sqlalchemy.types.Boolean.params.create_constraintModification
Modify all occurrences of the
Enum
type in the model and setcreate_constraints
toTrue
.The text was updated successfully, but these errors were encountered: