aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/schema
diff options
context:
space:
mode:
authorRafael França <rafaelmfranca@gmail.com>2016-03-11 19:10:29 -0300
committerRafael França <rafaelmfranca@gmail.com>2016-03-11 19:10:29 -0300
commiteefcc78f7a7d75709bdf03d21d6b039853d06ccf (patch)
treeb3cd93b01cebe61daca2f13b4b00e2a4aad45531 /activerecord/test/schema
parent12cce89c89b48b15dcf2fcdb41feaaa5b7c06991 (diff)
parentb8f86ae29fde93b5f1e3ab75e57e4acb48a12b78 (diff)
downloadrails-eefcc78f7a7d75709bdf03d21d6b039853d06ccf.tar.gz
rails-eefcc78f7a7d75709bdf03d21d6b039853d06ccf.tar.bz2
rails-eefcc78f7a7d75709bdf03d21d6b039853d06ccf.zip
Merge pull request #23797 from kamipo/case_sensitive_comparison_for_non_string_column
The BINARY Operator is only needed for string columns
Diffstat (limited to 'activerecord/test/schema')
-rw-r--r--activerecord/test/schema/mysql2_specific_schema.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/activerecord/test/schema/mysql2_specific_schema.rb b/activerecord/test/schema/mysql2_specific_schema.rb
index 101e657982..5a49b38457 100644
--- a/activerecord/test/schema/mysql2_specific_schema.rb
+++ b/activerecord/test/schema/mysql2_specific_schema.rb
@@ -33,6 +33,7 @@ ActiveRecord::Schema.define do
create_table :collation_tests, id: false, force: true do |t|
t.string :string_cs_column, limit: 1, collation: 'utf8_bin'
t.string :string_ci_column, limit: 1, collation: 'utf8_general_ci'
+ t.binary :binary_column, limit: 1
end
ActiveRecord::Base.connection.execute <<-SQL