class RuboCop::Rails::SchemaLoader::Table
def build_columns(node)
def build_columns(node) each_content(node).map do |child| next unless child&.send_type? next if child.method?(:index) Column.new(child) end.compact end
def build_columns(node) each_content(node).map do |child| next unless child&.send_type? next if child.method?(:index) Column.new(child) end.compact end