fixed 发贴内容长度增加longtext

This commit is contained in:
xxq250 2023-08-14 11:38:35 +08:00
parent 51986123bc
commit 63a71a731e
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
class ChangeMemosContentSize < ActiveRecord::Migration[5.2]
def change
change_column :memos, :content, :longtext
execute "ALTER TABLE memos MODIFY COLUMN content longtext;"
end
end