Flowdock
method

invert_remove_columns

Importance_0
v6.1.3.1 - Show latest stable - 0 notes - Class: CommandRecorder
invert_remove_columns(args) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/migration/command_recorder.rb, line 184
        def invert_remove_columns(args)
          unless args[-1].is_a?(Hash) && args[-1].has_key?(:type)
            raise ActiveRecord::IrreversibleMigration, "remove_columns is only reversible if given a type."
          end

          [:add_columns, args]
        end
Register or log in to add new notes.