forked from Gitlink/forgeplus
fixed 发贴内容长度增加longtext
This commit is contained in:
parent
27b82bbbc1
commit
5191f438fb
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue