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

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

Instance Method Summary collapse

Instance Method Details

#invert_change_column_comment(args) ⇒ Object


221
222
223
# File 'activerecord/lib/active_record/migration/compatibility.rb', line 221

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

#invert_change_table_comment(args) ⇒ Object


225
226
227
# File 'activerecord/lib/active_record/migration/compatibility.rb', line 225

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

#invert_transaction(args, &block) ⇒ Object


217
218
219
# File 'activerecord/lib/active_record/migration/compatibility.rb', line 217

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