Files
ccdi/sql/migration/2026-04-22-fix-ccdi-database-default-collation.sql

7 lines
246 B
SQL
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
-- 修复 ccdi 数据库默认字符集与排序规则
-- 目标:将数据库默认字符集统一为 utf8mb4默认排序规则统一为 utf8mb4_general_ci
ALTER DATABASE `ccdi`
CHARACTER SET = utf8mb4
COLLATE = utf8mb4_general_ci;