commit加入到项目动态

This commit is contained in:
xxq250 2023-04-17 10:13:30 +08:00
parent 5c563db6e4
commit 08d2ccada2
1 changed files with 6 additions and 0 deletions

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