Module: ActiveRecord::Migration::Compatibility::V5_2::CommandRecorder

Defined in:
lib/active_record/migration/compatibility.rb

Instance Method Summary collapse

Instance Method Details

#invert_change_column_comment(args) ⇒ Object



108
109
110
# File 'lib/active_record/migration/compatibility.rb', line 108

def invert_change_column_comment(args)
  [:change_column_comment, args]
end

#invert_change_table_comment(args) ⇒ Object



112
113
114
# File 'lib/active_record/migration/compatibility.rb', line 112

def invert_change_table_comment(args)
  [:change_table_comment, args]
end

#invert_transaction(args, &block) ⇒ Object



104
105
106
# File 'lib/active_record/migration/compatibility.rb', line 104

def invert_transaction(args, &block)
  [:transaction, args, block]
end