abstract class Jennifer::Migration::TableBuilder::Base

Direct Known Subclasses

Defined in:

jennifer/migration/table_builder/base.cr

Constant Summary

DEFAULT_ON_EVENT_ACTION = :restrict

Default ON UPDATE/ON DELETE for foreign key.

Constructors

Instance Method Summary

Constructor Detail

def self.new(adapter, name : String | Symbol) #

[View source]

Instance Method Detail

def adapter : Adapter::Base #

[View source]
def column_exists?(*args, **options) #

[View source]
def column_exists?(*args, **options, &) #

[View source]
abstract def explain #

Returns string presentation of invoked changes.


[View source]
def index_exists?(*args, **options) #

[View source]
def index_exists?(*args, **options, &) #

[View source]
def name : String #

[View source]
abstract def process #

Invokes current command.


[View source]
def process_commands #

Invokes underlying commands.


[View source]
def schema_processor(*args, **options) #

[View source]
def schema_processor(*args, **options, &) #

[View source]
def table_exists?(*args, **options) #

[View source]
def table_exists?(*args, **options, &) #

[View source]