aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/connection_adapters/postgresql/schema_statements.rb
diff options
context:
space:
mode:
authorTony Miller <mcfiredrill@gmail.com>2015-05-03 23:08:36 +0900
committerTony Miller <mcfiredrill@gmail.com>2015-05-03 23:08:36 +0900
commit16270eac7c3819e1273fef63290fdd84dfaa5797 (patch)
treedd1dcd29608ace0553d51616dc24ae0d9e83eb6a /activerecord/lib/active_record/connection_adapters/postgresql/schema_statements.rb
parent5f844211bebc7a974dc3ff6d67901515369c1840 (diff)
downloadrails-16270eac7c3819e1273fef63290fdd84dfaa5797.tar.gz
rails-16270eac7c3819e1273fef63290fdd84dfaa5797.tar.bz2
rails-16270eac7c3819e1273fef63290fdd84dfaa5797.zip
`:nodoc:` postgresql's change_column
Its nodoc'ed for the other implementations, and doc'ed in the base class, just like the other change_column* methods.
Diffstat (limited to 'activerecord/lib/active_record/connection_adapters/postgresql/schema_statements.rb')
-rw-r--r--activerecord/lib/active_record/connection_adapters/postgresql/schema_statements.rb3
1 files changed, 1 insertions, 2 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 2a229ebf42..050b815aad 100644
--- a/activerecord/lib/active_record/connection_adapters/postgresql/schema_statements.rb
+++ b/activerecord/lib/active_record/connection_adapters/postgresql/schema_statements.rb
@@ -403,8 +403,7 @@ module ActiveRecord
super
end
- # Changes the column of a table.
- def change_column(table_name, column_name, type, options = {})
+ def change_column(table_name, column_name, type, options = {}) #:nodoc:
clear_cache!
quoted_table_name = quote_table_name(table_name)
quoted_column_name = quote_column_name(column_name)