data Rotor::Reference(table: String, column: String, on_delete: Symbol?)
A column's foreign key: the table and column it references, and its
ON DELETE action (:cascade, :set_null, :restrict,
:no_action; nil: none written).
/home/runner/work/rotor/rotor/src/migration.qz:20
Methods
def to_h -> Hash[Symbol, Object]
The fields as a Hash, by name.
def with(*, table: String = …, column: String = …, on_delete: Symbol? = …) -> Rotor::Reference
A copy with the fields given replaced.