build: 规范建表语句的字符集

This commit is contained in:
CaptainB 2022-03-10 18:50:14 +08:00 committed by 刘瑞斌
parent 990ecd17c2
commit bb77395e3e
2 changed files with 2 additions and 2 deletions

View File

@ -390,7 +390,7 @@ CREATE TABLE `test_plan_follow`
`follow_id` varchar(50) DEFAULT NULL COMMENT '关注人', `follow_id` varchar(50) DEFAULT NULL COMMENT '关注人',
UNIQUE KEY `test_plan_principal_pk` (`test_plan_id`, `follow_id`) UNIQUE KEY `test_plan_principal_pk` (`test_plan_id`, `follow_id`)
) ENGINE = InnoDB ) ENGINE = InnoDB
DEFAULT CHARSET = utf8mb4; DEFAULT CHARSET = utf8mb4 COLLATE utf8mb4_general_ci;
INSERT INTO test_plan_follow INSERT INTO test_plan_follow
SELECT id, follow_people SELECT id, follow_people

View File

@ -6,7 +6,7 @@ CREATE TABLE `issue_follow`
KEY `issue_follow_follow_id_index` (`follow_id`), KEY `issue_follow_follow_id_index` (`follow_id`),
KEY `issue_follow_issue_id_index` (`issue_id`) KEY `issue_follow_issue_id_index` (`issue_id`)
) ENGINE = InnoDB ) ENGINE = InnoDB
DEFAULT CHARSET = utf8mb4; DEFAULT CHARSET = utf8mb4 COLLATE utf8mb4_general_ci;
-- group -- group
INSERT INTO user_group_permission (id, group_id, permission_id, module_id) INSERT INTO user_group_permission (id, group_id, permission_id, module_id)