Browse Source

commit加入到项目动态

pull/342/head
xxq250 3 years ago
parent
commit
08d2ccada2
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      db/migrate/20230417032154_update_commit_log_utf8.rb

+ 6
- 0
db/migrate/20230417032154_update_commit_log_utf8.rb View File

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

Loading…
Cancel
Save