aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/schema
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2017-02-13 03:51:44 +0900
committerRyuta Kamizono <kamipo@gmail.com>2017-02-13 23:12:04 +0900
commit6d37cd918dba5b492194afbc1094a6503c88f379 (patch)
tree645fdbd41d11fa28137d1dbfa9ac48b0919c1800 /activerecord/test/schema
parentfd6d286edac93acc70e7cccdaca4ba31064cdf25 (diff)
downloadrails-6d37cd918dba5b492194afbc1094a6503c88f379.tar.gz
rails-6d37cd918dba5b492194afbc1094a6503c88f379.tar.bz2
rails-6d37cd918dba5b492194afbc1094a6503c88f379.zip
Omit redundant `using: :btree` for schema dumping
Diffstat (limited to 'activerecord/test/schema')
-rw-r--r--activerecord/test/schema/schema.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/schema/schema.rb b/activerecord/test/schema/schema.rb
index d1acf4524f..08bef08abc 100644
--- a/activerecord/test/schema/schema.rb
+++ b/activerecord/test/schema/schema.rb
@@ -201,7 +201,7 @@ ActiveRecord::Schema.define do
t.integer :account_id
t.string :description, default: ""
t.index [:firm_id, :type, :rating], name: "company_index", length: { type: 10 }, order: { rating: :desc }
- t.index [:firm_id, :type], name: "company_partial_index", where: "rating > 10"
+ t.index [:firm_id, :type], name: "company_partial_index", where: "(rating > 10)"
t.index :name, name: "company_name_index", using: :btree
t.index "lower(name)", name: "company_expression_index" if supports_expression_index?
end