修改commit_log message类型

This commit is contained in:
xxq250 2023-04-17 14:21:12 +08:00
parent b8e31b8d0b
commit cb848c5b45
1 changed files with 5 additions and 0 deletions

View File

@ -0,0 +1,5 @@
class UpdateCommitLogUtf8 < ActiveRecord::Migration[5.2]
def change
execute("ALTER TABLE `commit_logs` MODIFY `message` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;")
end
end