class

Billy::AddColumn

Inherits Reference < Object

Constants

DATABASE_TYPE_MAP = {"String" => "varchar(256)", "Int8" => "smallint", "Int16" => "smallint", "Int32" => "integer", "Int64" => "bigint"}

Constructors

new(name : Symbol | String)
Source

Instance methods

as_sql
Source
default(value) : AddColumn
Source
not_null
Source
of_type(type) : AddColumn
Source
unique
Source