class Avram::Migrator::Columns::Float64Column(T)

Defined in:

avram/migrator/columns/float_column.cr

Constructors

Instance methods inherited from class Avram::Migrator::Columns::FloatColumn(T)

column_type : String column_type

Constructor methods inherited from class Avram::Migrator::Columns::FloatColumn(T)

new(name : String, nilable : Bool | Nil, default : Float32 | T | Nil, precision : Int32 | Nil, scale : Int32 | Nil)
new(name : String, nilable : Bool | Nil, default : Float32 | T | Nil)
new

Instance methods inherited from class Avram::Migrator::Columns::Base

array! array!, as_array_type : String as_array_type, build_add_statement_for_alter : String build_add_statement_for_alter, build_add_statement_for_create : String build_add_statement_for_create, build_change_type_statement(table_name : Symbol) : String build_change_type_statement, column_type : String column_type, set_references(references : String, on_delete : Symbol)
set_references(references : Nil, on_delete : Nil)
set_references(references : Nil | String, on_delete : Symbol | Nil)
set_references

Constructor methods inherited from class Avram::Migrator::Columns::Base

new(name) new

Class methods inherited from class Avram::Migrator::Columns::Base

escape_literal(value) escape_literal, prepare_value_for_database(value : Array)
prepare_value_for_database(value)
prepare_value_for_database

Instance methods inherited from class Object

blank_for_validates_required? : Bool blank_for_validates_required?

Constructor Detail

def self.new(name, nilable, default, precision, scale) #

[View source]
def self.new(name, nilable, default) #

[View source]