aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/schema
diff options
context:
space:
mode:
authorGuillermo Iguaran <guilleiguaran@gmail.com>2013-02-07 18:45:25 -0800
committerAaron Patterson <aaron.patterson@gmail.com>2013-02-09 16:58:50 -0800
commit921a296a3390192a71abeec6d9a035cc6d1865c8 (patch)
treed7d92531999ece12a1b67c729a7fbe1bed5e96ae /activerecord/test/schema
parent746dbd89faf8197e6d6f35f6e428a024923116a2 (diff)
downloadrails-921a296a3390192a71abeec6d9a035cc6d1865c8.tar.gz
rails-921a296a3390192a71abeec6d9a035cc6d1865c8.tar.bz2
rails-921a296a3390192a71abeec6d9a035cc6d1865c8.zip
Merge pull request #9208 from dylanahsmith/3-2-mysql-quote-numeric
[3.2] active_record: Quote numeric values compared to string columns. Conflicts: activerecord/CHANGELOG.md
Diffstat (limited to 'activerecord/test/schema')
-rw-r--r--activerecord/test/schema/schema.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/activerecord/test/schema/schema.rb b/activerecord/test/schema/schema.rb
index 8a3dfbb35a..f04dc72cdd 100644
--- a/activerecord/test/schema/schema.rb
+++ b/activerecord/test/schema/schema.rb
@@ -518,6 +518,8 @@ ActiveRecord::Schema.define do
create_table :price_estimates, :force => true do |t|
t.string :estimate_of_type
t.integer :estimate_of_id
+ t.string :thing_type
+ t.integer :thing_id
t.integer :price
end