fix: specify cols when upgrading
Some checks failed
continuous-integration/drone/push Build is failing

Resolves https://github.com/go-vikunja/vikunja/issues/367
This commit is contained in:
kolaente 2024-12-09 17:42:11 +01:00
parent 5c93d0c57c
commit 942c2e4af6
Signed by: konrad
GPG Key ID: F40E70337AB24C9B

View File

@ -75,7 +75,10 @@ func init() {
Title: bc.Title,
})
}
_, err = tx.Where("id = ?", view.ID).Update(newView)
_, err = tx.
Where("id = ?", view.ID).
Cols("id", "bucket_configuration").
Update(newView)
if err != nil {
return
}