fix: specify cols when upgrading

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
No known key found for this signature in database
GPG Key ID: F40E70337AB24C9B
1 changed files with 4 additions and 1 deletions

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
}