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

Defined in:
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/activerecord-7.0.4/lib/active_record/migration/compatibility.rb

Instance Method Summary collapse

Instance Method Details

#invert_change_column_comment(args) ⇒ Object



169
170
171
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/activerecord-7.0.4/lib/active_record/migration/compatibility.rb', line 169

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

#invert_change_table_comment(args) ⇒ Object



173
174
175
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/activerecord-7.0.4/lib/active_record/migration/compatibility.rb', line 173

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

#invert_transaction(args, &block) ⇒ Object



165
166
167
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/activerecord-7.0.4/lib/active_record/migration/compatibility.rb', line 165

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