1
0

feat(views)!: make updating a bucket work again

This commit is contained in:
kolaente
2024-03-15 13:12:56 +01:00
parent a13276e28e
commit f2a0d69670
4 changed files with 118 additions and 51 deletions

View File

@ -71,8 +71,13 @@ func (b *Bucket) TableName() string {
}
type TaskBucket struct {
BucketID int64 `xorm:"bigint not null index"`
TaskID int64 `xorm:"bigint not null index"`
BucketID int64 `xorm:"bigint not null index"`
TaskID int64 `xorm:"bigint not null index"`
ProjectViewID int64 `xorm:"bigint not null index"`
}
func (b *TaskBucket) TableName() string {
return "task_buckets"
}
func getBucketByID(s *xorm.Session, id int64) (b *Bucket, err error) {