struct
Prostore::Steps::Kind::AlterEnumMembers
- Prostore::Steps::Kind::AlterEnumMembers
- Struct
- Value
- Object
Overview
Swap the CHECK constraint on an enum column to reflect a widened
member set (ADR-0016). Postgres uses DROP CONSTRAINT … ADD CONSTRAINT
in a single transaction; SQLite uses the table-rebuild dance. The
#field snapshot carries the final desired metadata (members, flags,
portable type) so the executor can render the new CHECK and update
the bookkeeping row.
Defined in:
prostore/steps/step.crConstructors
Instance Method Summary
- #clone
- #copy_with(table_name _table_name = @table_name, field _field = @field)
- #field : Schema::Field
- #table_name : String