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)
SourceInstance methods
as_sql
Sourcedefault(value) : AddColumn
Sourcenot_null
Sourceof_type(type) : AddColumn
Sourceunique
Source