class RuboCop::Cop::Rails::ReversibleMigration

def check_reversible_hash_node(node)

def check_reversible_hash_node(node)
  return if reversible_change_table_call?(node)
  add_offense(
    node,
    message: format(
      MSG, action: "#{node.method_name}(without :from and :to)"
    )
  )
end