class Clear::Migration::DropTable

Defined in:

clear/migration/operation/table.cr

Constructors

Instance Method Summary

Instance methods inherited from class Clear::Migration::Operation

down : Array(String) down, irreversible!(operation_name : String? = nil) irreversible!, migration : Clear::Migration? migration, migration=(migration : Clear::Migration?) migration=, up : Array(String) up

Instance methods inherited from module Clear::ErrorMessages

build_error_message(message : String, ways_to_resolve : Tuple | Array = Tuple.new, manual_pages : Tuple | Array = Tuple.new) build_error_message, converter_error(from, to) converter_error, format_width(x, w = 80) format_width, illegal_setter_access_to_undefined_column(name) illegal_setter_access_to_undefined_column, lack_of_primary_key(model_name) lack_of_primary_key, migration_already_down(number) migration_already_down, migration_already_up(number) migration_already_up, migration_drop_irreversible(name) migration_drop_irreversible, migration_irreversible(name = nil, operation = nil) migration_irreversible, migration_not_found(number) migration_not_found, migration_not_unique(numbers) migration_not_unique, no_migration_yet(version) no_migration_yet, null_column_mapping_error(name, type) null_column_mapping_error, order_by_error_invalid_order(current_order) order_by_error_invalid_order, polymorphic_nil(through) polymorphic_nil, polymorphic_unknown_class(class_name) polymorphic_unknown_class, query_building_error(message) query_building_error, uid_not_found(class_name) uid_not_found, uninitialized_db_connection(connection) uninitialized_db_connection

Constructor Detail

def self.new(table, schema) #

[View source]

Instance Method Detail

def down : Array(String) #

[View source]
def full_name #

[View source]
def schema : String #

[View source]
def table : String #

[View source]
def up : Array(String) #

[View source]