Closed
Description
migration 0:
DROP TYPE IF EXISTS e_my_enum_type CASCADE;
CREATE TYPE e_my_enum_type AS ENUM (
'green',
'red',
'black'
);
generated code for migration 0:
type EMyEnumType string
const (
EMyEnumTypeGreen EMyEnumType = "green"
EMyEnumTypeRed EMyEnumType = "red"
EMyEnumTypeBlack EMyEnumType = "black"
)
Problem
migration 5:
ALTER TYPE e_my_enum_type RENAME VALUE 'black' TO 'yellow';
generated code after migration 5 is applied is the same as migration 0 for type EMyEnumType
Expected that it would be:
type EMyEnumType string
const (
EMyEnumTypeGreen EMyEnumType = "green"
EMyEnumTypeRed EMyEnumType = "red"
EMyEnumTypeBlack EMyEnumType = "yellow"
)