abstract class Avram::Migrator::Columns::Base
Direct Known Subclasses
Defined in:
avram/migrator/columns/base.cr
Constructors
Class Method Summary
Instance Method Summary
Constructor Detail
Class Method Detail
def self.
escape_literal(value)
#
def self.
prepare_value_for_database(value :
Array)
#
def self.
prepare_value_for_database(value)
#
Instance Method Detail
def
build_add_statement_for_alter :
String
#
def
build_add_statement_for_create :
String
#
def
build_change_type_statement(table_name : Symbol) :
String
#
abstract
def
column_type :
String
#
def
set_references(references :
String, on_delete : Symbol)
#
def
set_references(references :
Nil, on_delete :
Nil)
#
def
set_references(references :
Nil |
String, on_delete : Symbol |
Nil)
#