db-schema/core

Runner#alter_enum_values fails on check constraints using enums

Opened this issue · 0 comments

7even commented

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.