diff options
author | bogdanvlviv <bogdanvlviv@gmail.com> | 2017-10-04 13:56:51 +0300 |
---|---|---|
committer | bogdanvlviv <bogdanvlviv@gmail.com> | 2017-10-04 14:00:42 +0300 |
commit | 85ca01bcb319d5ce66c0fa9ce6aede533492f0e9 (patch) | |
tree | b4cee7fdde4b3fd6ce9291a89de0cd02af0e10a7 /activerecord/lib/active_record | |
parent | f1e89628fe3d18427e3b6644b1e7f3ef965ecd5b (diff) | |
download | rails-85ca01bcb319d5ce66c0fa9ce6aede533492f0e9.tar.gz rails-85ca01bcb319d5ce66c0fa9ce6aede533492f0e9.tar.bz2 rails-85ca01bcb319d5ce66c0fa9ce6aede533492f0e9.zip |
Express #change_column_comment as public api
Implemented by #22911
Related to #30677
Diffstat (limited to 'activerecord/lib/active_record')
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb | 2 |
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 |