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

@ -18,6 +18,7 @@ type BotTaskStep struct {
Name string
TaskID int64 `xorm:"index unique(task_number)"`
Number int64 `xorm:"index unique(task_number)"`
RepoID int64 `xorm:"index"`
Status Status `xorm:"index"`
LogIndex int64
LogLength int64