Module: ActiveRecord::Migration::Compatibility::V5_2::CommandRecorder
- Defined in:
- lib/active_record/migration/compatibility.rb
Instance Method Summary collapse
- #invert_change_column_comment(args) ⇒ Object
- #invert_change_table_comment(args) ⇒ Object
- #invert_transaction(args, &block) ⇒ Object
Instance Method Details
#invert_change_column_comment(args) ⇒ Object
276 277 278 |
# File 'lib/active_record/migration/compatibility.rb', line 276 def invert_change_column_comment(args) [:change_column_comment, args] end |
#invert_change_table_comment(args) ⇒ Object
280 281 282 |
# File 'lib/active_record/migration/compatibility.rb', line 280 def invert_change_table_comment(args) [:change_table_comment, args] end |
#invert_transaction(args, &block) ⇒ Object
272 273 274 |
# File 'lib/active_record/migration/compatibility.rb', line 272 def invert_transaction(args, &block) [:transaction, args, block] end |