pipeline-app/deploy/migrations/m0022_pipeline_conversations_collation.json

12 lines
481 B
JSON
Raw Permalink 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.

{
"id": "m0022",
"title": "pipeline_conversations 归籍 pipeline-service + collation 统一 unicode_ci(消灭代码里的 COLLATE 补丁依赖)",
"backup_tables": ["pipeline_conversations"],
"up": [
{"op": "sql", "sql": "ALTER TABLE pipeline_conversations CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci"}
],
"down": [
{"op": "sql", "sql": "ALTER TABLE pipeline_conversations CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci"}
]
}