Skip to content

Commit

Permalink
pref:metrics部分接口性能优化 #9147
Browse files Browse the repository at this point in the history
  • Loading branch information
yjieliang committed Sep 4, 2023
1 parent 1e10d48 commit 258d687
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set names utf8mb4;
-- 初始化标签数据
REPLACE INTO devops_ci_metrics.T_PROJECT_PIPELINE_LABEL_INFO(PROJECT_ID,PIPELINE_ID,LABEL_ID,LABEL_NAME) SELECT t1.PROJECT_ID,t1.PIPELINE_ID,t1.LABEL_ID,t2.`NAME` FROM devops_ci_process.T_PIPELINE_LABEL_PIPELINE t1 JOIN devops_ci_process.T_PIPELINE_LABEL t2 ON t1.LABEL_ID=t2.ID;

REPLACE INTO T_ERROR_TYPE_DICT(ID, ERROR_TYPE, NAME) VALUES(2, 0, '系统错误');
REPLACE INTO T_ERROR_TYPE_DICT(ID, ERROR_TYPE, NAME) VALUES(1, 1, '用户错误');
REPLACE INTO T_ERROR_TYPE_DICT(ID, ERROR_TYPE, NAME) VALUES(1, 0, '系统错误');
REPLACE INTO T_ERROR_TYPE_DICT(ID, ERROR_TYPE, NAME) VALUES(2, 1, '用户错误');
REPLACE INTO T_ERROR_TYPE_DICT(ID, ERROR_TYPE, NAME) VALUES(3, 2, '第三方错误');
REPLACE INTO T_ERROR_TYPE_DICT(ID, ERROR_TYPE, NAME) VALUES(4, 3, '插件错误');

0 comments on commit 258d687

Please sign in to comment.