feat: remove bots resources after deleting repo

This commit is contained in:
Jason Song
2022-11-29 16:25:58 +08:00
parent e33d4d7700
commit c1fce2cf7d
6 changed files with 73 additions and 0 deletions

View File

@ -134,6 +134,7 @@ func addBotTables(x *xorm.Engine) error {
Name string
TaskID int64 `xorm:"index unique(task_number)"`
Number int64 `xorm:"index unique(task_number)"`
RepoID int64 `xorm:"index"`
Status int `xorm:"index"`
LogIndex int64
LogLength int64