diff options
author | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2013-01-29 15:37:16 -0800 |
---|---|---|
committer | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2013-01-29 15:37:16 -0800 |
commit | 1337e9284c038de8f0ea8a2de0d03efa630ea057 (patch) | |
tree | c6003ed0aa0fa8d55468952192cd053f41f73d33 /activerecord/test/schema | |
parent | 1683afb0ae093999d7ca24b87181c4e0109f1f56 (diff) | |
parent | b6d49312920c0b3163064e44ca45871c68136b1c (diff) | |
download | rails-1337e9284c038de8f0ea8a2de0d03efa630ea057.tar.gz rails-1337e9284c038de8f0ea8a2de0d03efa630ea057.tar.bz2 rails-1337e9284c038de8f0ea8a2de0d03efa630ea057.zip |
Merge pull request #9043 from senny/backport_7536
Backport: Fix pluck when columns/tables are reserved words.
Diffstat (limited to 'activerecord/test/schema')
-rw-r--r-- | activerecord/test/schema/schema.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/activerecord/test/schema/schema.rb b/activerecord/test/schema/schema.rb index 1a993fef11..32982e4f82 100644 --- a/activerecord/test/schema/schema.rb +++ b/activerecord/test/schema/schema.rb @@ -281,6 +281,10 @@ ActiveRecord::Schema.define do t.string :info end + create_table :having, :force => true do |t| + t.string :where + end + create_table :guids, :force => true do |t| t.column :key, :string end |