diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2017-08-08 18:15:46 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2017-08-08 18:20:44 +0900 |
commit | 6089b3140dedc087d80d67fe4c60f280db9e8d6e (patch) | |
tree | 44e55eb378a6e88bb096fe17626b29691fc9fc6e /activerecord/lib/active_record/connection_adapters | |
parent | 1561810f38d6200026340411e1eacafb83cb6f72 (diff) | |
download | rails-6089b3140dedc087d80d67fe4c60f280db9e8d6e.tar.gz rails-6089b3140dedc087d80d67fe4c60f280db9e8d6e.tar.bz2 rails-6089b3140dedc087d80d67fe4c60f280db9e8d6e.zip |
[ci skip] Postgres --> PostgreSQL
Diffstat (limited to 'activerecord/lib/active_record/connection_adapters')
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb b/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb index e21f93856e..3c9b25e411 100644 --- a/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb +++ b/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb @@ -780,7 +780,7 @@ module ActiveRecord def rename_index(table_name, old_name, new_name) validate_index_length!(table_name, new_name) - # this is a naive implementation; some DBs may support this more efficiently (Postgres, for instance) + # this is a naive implementation; some DBs may support this more efficiently (PostgreSQL, for instance) old_index_def = indexes(table_name).detect { |i| i.name == old_name } return unless old_index_def add_index(table_name, old_index_def.columns, name: new_name, unique: old_index_def.unique) |