forked from Trustie/forgeplus
fixed 发贴内容长度增加longtext
This commit is contained in:
parent
4a1af5be33
commit
bdaf2b759a
|
|
@ -1,5 +1,5 @@
|
|||
class ChangeMemosContentSize < ActiveRecord::Migration[5.2]
|
||||
def change
|
||||
execute "ALTER TABLE memos MODIFY COLUMN `content` longtext;"
|
||||
execute("ALTER TABLE `memos` MODIFY `content` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;")
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in New Issue