@@ -91,6 +91,7 @@ export const userIndex = (tableName: string, indexName: string) => ({
9191Table application {
9292 id string [pk, increment]
9393 user_id string [ref: > user.id]
94+ description string
9495 owner string // github仓库登录的owner
9596 provider string // git代码托管厂商:github,gitee,gitlab,codeup
9697 provider_repo_id string // git代码repo唯一ID
@@ -153,6 +154,7 @@ Table task {
153154*/
154155const TASK_DEFINED_COLUMN = {
155156 user_id : TableStore . DefinedColumnType . DCT_STRING ,
157+ description : TableStore . DefinedColumnType . DCT_STRING ,
156158 app_id : TableStore . DefinedColumnType . DCT_STRING ,
157159 status : TableStore . DefinedColumnType . DCT_STRING ,
158160 steps : TableStore . DefinedColumnType . DCT_STRING ,
@@ -187,8 +189,9 @@ export const taskIndex = (tableName: string, indexName: string) => ({
187189Table token {
188190 id string [pk, increment]
189191 team_id string [ref: > team.id]
192+ user_id string [ref: > user.id]
190193 cd_token string
191- descripion string
194+ description string
192195 active_time string
193196 expire_time string
194197 created_time timestamp
@@ -197,8 +200,9 @@ Table token {
197200*/
198201const TOKEN_DEFINED_COLUMN = {
199202 team_id : TableStore . DefinedColumnType . DCT_STRING ,
203+ user_id : TableStore . DefinedColumnType . DCT_STRING ,
200204 cd_token : TableStore . DefinedColumnType . DCT_STRING ,
201- descripion : TableStore . DefinedColumnType . DCT_STRING ,
205+ description : TableStore . DefinedColumnType . DCT_STRING ,
202206 active_time : TableStore . DefinedColumnType . DCT_STRING ,
203207 expire_time : TableStore . DefinedColumnType . DCT_STRING ,
204208 created_time : TableStore . DefinedColumnType . DCT_INTEGER ,
0 commit comments