chore(migrations): m0022 pipeline_conversations collation统一unicode_ci——归籍pipeline-service配套;该表此前general_ci漂移(project_capability里COLLATE补丁即为此而生),转换后与sd_iterations等unicode_ci表JOIN无需显式COLLATE;dmig自动备份表,down可回退general_ci
This commit is contained in:
parent
6e2eea96ab
commit
1adea1b2e6
@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"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"}
|
||||||
|
]
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user