diff --git a/db/migrate/20230417141788_update_commit_log_utf8.rb b/db/migrate/20230417141788_update_commit_log_utf8.rb new file mode 100644 index 00000000..8e3af952 --- /dev/null +++ b/db/migrate/20230417141788_update_commit_log_utf8.rb @@ -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