aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorSean Griffin <sean@seantheprogrammer.com>2017-10-09 15:11:12 -0400
committerGitHub <noreply@github.com>2017-10-09 15:11:12 -0400
commitd645aa28b7fb808fc600eba56ea9d45e8999fcd3 (patch)
tree3dcd848f943a8e0bc63487aba145b2309338a2ad /activerecord
parent524ba0b6d8ffcf3fdd20002f702f8c436bdb5dbf (diff)
parent85ca01bcb319d5ce66c0fa9ce6aede533492f0e9 (diff)
downloadrails-d645aa28b7fb808fc600eba56ea9d45e8999fcd3.tar.gz
rails-d645aa28b7fb808fc600eba56ea9d45e8999fcd3.tar.bz2
rails-d645aa28b7fb808fc600eba56ea9d45e8999fcd3.zip
Merge pull request #30798 from bogdanvlviv/express-change_column_comment-as-public-api
Express #change_column_comment as public api
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb b/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb
index 4f0c1890be..e6bcdbda60 100644
--- a/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb
+++ b/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb
@@ -1174,7 +1174,7 @@ module ActiveRecord
end
# Changes the comment for a column or removes it if +nil+.
- def change_column_comment(table_name, column_name, comment) #:nodoc:
+ def change_column_comment(table_name, column_name, comment)
raise NotImplementedError, "#{self.class} does not support changing column comments"
end