diff options
author | Yves Senn <yves.senn@gmail.com> | 2015-05-08 11:45:45 +0200 |
---|---|---|
committer | Yves Senn <yves.senn@gmail.com> | 2015-05-08 11:45:45 +0200 |
commit | 0834d60d64a159765a2719eedbf1518334f86644 (patch) | |
tree | ff4c737d99b495ca12c7c25c0e2ba078dfaa8fe0 | |
parent | f1da919a05488e0647886a9325caa1f0f89d2cad (diff) | |
parent | afd215da217f547ba0ae1deeeefd55c2f4fb8c0c (diff) | |
download | rails-0834d60d64a159765a2719eedbf1518334f86644.tar.gz rails-0834d60d64a159765a2719eedbf1518334f86644.tar.bz2 rails-0834d60d64a159765a2719eedbf1518334f86644.zip |
Merge pull request #20068 from mcfiredrill/nodoc-postgresql-rename-column
:nodoc: rename_column in postgresql/schema_statements.rb [ci skip]
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/postgresql/schema_statements.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/postgresql/schema_statements.rb b/activerecord/lib/active_record/connection_adapters/postgresql/schema_statements.rb index 686671b007..5552044e7a 100644 --- a/activerecord/lib/active_record/connection_adapters/postgresql/schema_statements.rb +++ b/activerecord/lib/active_record/connection_adapters/postgresql/schema_statements.rb @@ -452,7 +452,7 @@ module ActiveRecord end # Renames a column in a table. - def rename_column(table_name, column_name, new_column_name) + def rename_column(table_name, column_name, new_column_name) #:nodoc: clear_cache! execute "ALTER TABLE #{quote_table_name(table_name)} RENAME COLUMN #{quote_column_name(column_name)} TO #{quote_column_name(new_column_name)}" rename_column_indexes(table_name, column_name, new_column_name) |