struct Prostore::Diff::Operation::AlterEnumMembers

Overview

ADR-0016: enum member set has grown (additive change). The desired #field snapshot carries the new member list; the executor swaps the CHECK constraint to widen the accepted value space.

Defined in:

prostore/diff/operation.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(table_name : String, field : Schema::Field) #

[View source]

Instance Method Detail

def clone #

[View source]
def copy_with(table_name _table_name = @table_name, field _field = @field) #

[View source]
def field : Schema::Field #

def table_name : String #