method

change_table_comment

change_table_comment(table_name, comment_or_changes)
public

Changes the comment for a table or removes it if nil.

Passing a hash containing :from and :to will make this change reversible in migration:

change_table_comment(:posts, from: "old_comment", to: "new_comment")