data Rotor::Was(null: Bool?, default: Int | Float | String | Bool | Bytes | Rotor::SQL::Raw | Rotor::NoDefault | Nil)
What a column was, for change_column to be reversible: its NULL
admission and its default (Rotor::Migration::NO_DEFAULT for none); nil for what the
change leaves as it is.
/home/runner/work/rotor/rotor/src/migration.qz:30
Methods
def to_h -> Hash[Symbol, Object]
The fields as a Hash, by name.
def with(*, null: Bool? = …, default: Int | Float | String | Bool | Bytes | Rotor::SQL::Raw | Rotor::NoDefault | Nil = …) -> Rotor::Was
A copy with the fields given replaced.