Class: DeclareSchema::SchemaChange::IndexRemove

Inherits:
IndexAdd
  • Object
show all
Defined in:
lib/declare_schema/schema_change/index_remove.rb

Instance Method Summary collapse

Methods inherited from IndexAdd

#initialize

Methods inherited from Base

#down, format_options, #up

Constructor Details

This class inherits a constructor from DeclareSchema::SchemaChange::IndexAdd

Instance Method Details

#down_commandObject



15
16
17
# File 'lib/declare_schema/schema_change/index_remove.rb', line 15

def down_command
  index_add_up_command
end

#index_add_down_commandObject



9
# File 'lib/declare_schema/schema_change/index_remove.rb', line 9

alias index_add_down_command down_command

#index_add_up_commandObject



8
# File 'lib/declare_schema/schema_change/index_remove.rb', line 8

alias index_add_up_command up_command

#up_commandObject



11
12
13
# File 'lib/declare_schema/schema_change/index_remove.rb', line 11

def up_command
  index_add_down_command
end