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-13 15:27:04 +0900
committerTony Miller <mcfiredrill@gmail.com>2015-05-13 15:27:04 +0900
commit52493037c36f25e6c7f9ba660673451d2b52122d (patch)
treeea6eac71a0befc9f3b8ba99810e7b219d29e177b /activerecord/lib/active_record/connection_adapters/postgresql/schema_statements.rb
parentb0a19903ed236c695ceb1939d1d07af23f5060c8 (diff)
downloadrails-52493037c36f25e6c7f9ba660673451d2b52122d.tar.gz
rails-52493037c36f25e6c7f9ba660673451d2b52122d.tar.bz2
rails-52493037c36f25e6c7f9ba660673451d2b52122d.zip
:nodoc: postgresql add_column
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.rb4
1 files changed, 1 insertions, 3 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 5552044e7a..412999f0fe 100644
--- a/activerecord/lib/active_record/connection_adapters/postgresql/schema_statements.rb
+++ b/activerecord/lib/active_record/connection_adapters/postgresql/schema_statements.rb
@@ -398,9 +398,7 @@ module ActiveRecord
rename_table_indexes(table_name, new_name)
end
- # Adds a new column to the named table.
- # See TableDefinition#column for details of the options you can use.
- def add_column(table_name, column_name, type, options = {})
+ def add_column(table_name, column_name, type, options = {}) #:nodoc:
clear_cache!
super
end