fixed 发贴内容长度增加longtext

This commit is contained in:
xxq250 2023-08-14 11:42:40 +08:00
parent 27b82bbbc1
commit 5191f438fb
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 `content` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;")
end
end