abstract class Avram::Migrator::Columns::Base

Direct Known Subclasses

Defined in:

avram/migrator/columns/base.cr

Constructors

Class Method Summary

Instance Method Summary

Instance methods inherited from class Object

blank_for_validates_required? : Bool blank_for_validates_required?

Constructor Detail

def self.new(name) #

[View source]

Class Method Detail

def self.escape_literal(value) #

[View source]
def self.prepare_value_for_database(value : Array) #

[View source]
def self.prepare_value_for_database(value) #

[View source]

Instance Method Detail

def array! #

[View source]
def as_array_type : String #

[View source]
def build_add_statement_for_alter : String #

[View source]
def build_add_statement_for_create : String #

[View source]
def build_change_default_statement(table_name : TableName) : String #

[View source]
def build_change_type_statement(table_name : TableName) : String #

[View source]
abstract def column_type : String #

[View source]
def set_references(references : String, on_delete : Symbol) #

[View source]
def set_references(references : Nil, on_delete : Nil) #

[View source]
def set_references(references : Nil | String, on_delete : Symbol | Nil) #

[View source]