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

Runner#alter_enum_values fails on check constraints using enums #9

Open
7even opened this issue Feb 2, 2018 · 0 comments
Open

Runner#alter_enum_values fails on check constraints using enums #9

7even opened this issue Feb 2, 2018 · 0 comments
Assignees

Comments

@7even
Copy link
Member

7even commented Feb 2, 2018

If the database schema contains any check constraints that mention an enum field, then running AlterEnumValues against that enum type fails.

A possible solution would be to drop check constraints before recreating the enum and create them back afterwards.

@7even 7even self-assigned this Feb 2, 2018
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

No branches or pull requests

1 participant