diff options
author | Tony Miller <mcfiredrill@gmail.com> | 2015-05-08 16:36:43 +0900 |
---|---|---|
committer | Tony Miller <mcfiredrill@gmail.com> | 2015-05-08 16:36:43 +0900 |
commit | afd215da217f547ba0ae1deeeefd55c2f4fb8c0c (patch) | |
tree | a91ee286d5dc4ac5dd258878cd9f6237db43b123 /activerecord | |
parent | a6d9d76299946fb24ce9695b4a5bdea6e2f13805 (diff) | |
download | rails-afd215da217f547ba0ae1deeeefd55c2f4fb8c0c.tar.gz rails-afd215da217f547ba0ae1deeeefd55c2f4fb8c0c.tar.bz2 rails-afd215da217f547ba0ae1deeeefd55c2f4fb8c0c.zip |
:nodoc: rename_column in postgresql/schema_statements.rb
Its already doc'ed in
activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb
Diffstat (limited to 'activerecord')
-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) |