aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib
diff options
context:
space:
mode:
authorYves Senn <yves.senn@gmail.com>2015-05-13 09:02:48 +0200
committerYves Senn <yves.senn@gmail.com>2015-05-13 09:02:48 +0200
commit6eaa5b17a094e5cbbdedad578e8bb2f5ae187aac (patch)
treeea6eac71a0befc9f3b8ba99810e7b219d29e177b /activerecord/lib
parentb0a19903ed236c695ceb1939d1d07af23f5060c8 (diff)
parent52493037c36f25e6c7f9ba660673451d2b52122d (diff)
downloadrails-6eaa5b17a094e5cbbdedad578e8bb2f5ae187aac.tar.gz
rails-6eaa5b17a094e5cbbdedad578e8bb2f5ae187aac.tar.bz2
rails-6eaa5b17a094e5cbbdedad578e8bb2f5ae187aac.zip
Merge pull request #20136 from mcfiredrill/nodoc-postgresql-add-column
:nodoc: postgresql add_column
Diffstat (limited to 'activerecord/lib')
-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