Flowdock
method

change_table_comment

Importance_0
v6.0.0 - Show latest stable - 0 notes - Class: AbstractMysqlAdapter
change_table_comment(table_name, comment_or_changes) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/connection_adapters/abstract_mysql_adapter.rb, line 290
      def change_table_comment(table_name, comment_or_changes) # :nodoc:
        comment = extract_new_comment_value(comment_or_changes)
        comment = "" if comment.nil?
        execute("ALTER TABLE #{quote_table_name(table_name)} COMMENT #{quote(comment)}")
      end
Register or log in to add new notes.