Renames column comments.comments to comments.content to please Rails 5.1 (#23630).

git-svn-id: http://svn.redmine.org/redmine/trunk@16860 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2017-07-23 11:40:14 +00:00
parent d74f0bfd5c
commit b99c3caae8
4 changed files with 16 additions and 27 deletions

View File

@@ -0,0 +1,5 @@
class RenameCommentsToContent < ActiveRecord::Migration[5.1]
def change
rename_column :comments, :comments, :content
end
end