struct

Lustra::Migration::Table::ColumnOperation

Inherits Struct < Value < Object

Constructors

new(column : String, type : String, null : Bool = false, default : SQL::Any = nil, primary : Bool = false, array : Bool = false, comment : String | Nil = nil)
Source

Instance methods

array
clone
Source
column
comment
copy_with(column _column = @column, type _type = @type, null _null = @null, default _default = @default, primary _primary = @primary, array _array = @array, comment _comment = @comment)
Source
default
null
primary
type