Skip to content

Commit

Permalink
feat: copilot 编辑器支持免登录 TencentBlueKing#11290
Browse files Browse the repository at this point in the history
  • Loading branch information
hejieehe committed Dec 6, 2024
1 parent 72e2c49 commit b0d9adc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,7 @@ class RepositoryScmTokenDao {
.where(
USER_ID.eq(userId)
.and(SCM_CODE.eq(scmCode))
.and(
APP_TYPE.eq(appType)
)
.and(APP_TYPE.eq(appType))
)
.fetchOne()
}
Expand Down
2 changes: 1 addition & 1 deletion support-files/sql/1001_ci_repository_ddl_mysql.sql
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,6 @@ CREATE TABLE IF NOT EXISTS `T_REPOSITORY_SCM_TOKEN` (
`UPDATE_TIME` datetime DEFAULT NULL COMMENT '更新时间',
PRIMARY KEY (`ID`),
UNIQUE KEY `t_repository_scm_token_unique` (`USER_ID`,`SCM_CODE`,`APP_TYPE`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='代码仓库token表';
) ENGINE=INNODB DEFAULT CHARSET=utf8mb4 COMMENT='代码仓库token表';

SET FOREIGN_KEY_CHECKS = 1;

0 comments on commit b0d9adc

Please sign in to comment.