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



292
293
294
# File 'lib/active_record/migration/compatibility.rb', line 292

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

#invert_change_table_comment(args) ⇒ Object



296
297
298
# File 'lib/active_record/migration/compatibility.rb', line 296

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

#invert_transaction(args, &block) ⇒ Object



288
289
290
# File 'lib/active_record/migration/compatibility.rb', line 288

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