# File activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb, line 712
def distinct(columns, order_by)
ActiveSupport::Deprecation.warn("#distinct is deprecated and shall be removed from future releases.")
"DISTINCT #{columns_for_distinct(columns, order_by)}"
end