mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-07 21:51:42 +08:00
修改commit_log message类型
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
class UpdateCommitLogUtf8 < ActiveRecord::Migration[5.2]
|
||||
class UpdateCommitLogMessage < ActiveRecord::Migration[5.2]
|
||||
def change
|
||||
execute("ALTER TABLE `commit_logs` MODIFY `message` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;")
|
||||
end
|
||||
Reference in New Issue
Block a user