通过私人令牌导入仓库时,数据库错误
Closed this issue · 2 comments
yeliulee commented
通过私人令牌导入仓库失败,报错如下
数据库异常 Value too long for column "PASSWORD CHARACTER VARYING(50)": "'github_pat_11AL5JVBum_....... (93)"; SQL statement: INSERT INTO REPOSITORY (`name`, `gitUrl`, `repoType`, `protocol`, `userName`, `password`, `rsaPub`, `rsaPrv`, `workspaceId`, `modifyUser`, `createUser`, `createTimeMillis`, `id`) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [22001-214]
目测原因是因为 github personal access token
的长度超过了数据库定义
使用的 Fine-grained personal access tokens
, 超过 50 了
Idiot-Alex commented
bwcx-jzy commented
2.10.41.1 修复