struct Clear::Migration::Table::ColumnOperation

Defined in:

clear/migration/operation/table.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(column : String, type : String, null : Bool = false, default : SQL::Any = nil, primary : Bool = false, array : Bool = false) #

[View source]

Instance Method Detail

def array : Bool #

def clone #

[View source]
def column : String #

def copy_with(column _column = @column, type _type = @type, null _null = @null, default _default = @default, primary _primary = @primary, array _array = @array) #

[View source]
def default : SQL::Any #

def null : Bool #

def primary : Bool #

def type : String #