Browse Source

修改commit_log message类型

pull/342/head
xxq250 3 years ago
parent
commit
aaf3b381fb
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      db/migrate/20230417141788_update_commit_log_message.rb

db/migrate/20230417141788_update_commit_log_utf8.rb → db/migrate/20230417141788_update_commit_log_message.rb View File

@@ -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

Loading…
Cancel
Save