def primary : Bool
#
struct Clear::Migration::Table::ColumnOperation
- Clear::Migration::Table::ColumnOperation
- Struct
- Value
- Object
Defined in:
clear/migration/operation/table.crConstructors
Instance Method Summary
- #array : Bool
- #clone
- #column : String
- #copy_with(column _column = @column, type _type = @type, null _null = @null, default _default = @default, primary _primary = @primary, array _array = @array)
- #default : SQL::Any
- #null : Bool
- #primary : Bool
- #type : String
Constructor Detail
def self.new(column : String, type : String, null : Bool = false, default : SQL::Any = nil, primary : Bool = false, array : Bool = false)
#
Instance Method Detail
def copy_with(column _column = @column, type _type = @type, null _null = @null, default _default = @default, primary _primary = @primary, array _array = @array)
#