style: Update should be checked for errors
continuous-integration/drone/pr Build is passing
Details
continuous-integration/drone/pr Build is passing
Details
This commit is contained in:
parent
bd6493eb53
commit
7cc42e55e2
|
@ -38,7 +38,10 @@ func init() {
|
|||
Migrate: func(tx *xorm.Engine) error {
|
||||
|
||||
// Update the filter for all list views to hide completed tasks unless the filter is already set
|
||||
tx.Where("view_kind = ? AND filter = ?", 0, "").Cols("filter").Update(&projectView20240329170952{Filter: "done = false"})
|
||||
_, err := tx.Where("view_kind = ? AND filter = ?", 0, "").Cols("filter").Update(&projectView20240329170952{Filter: "done = false"})
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
return nil
|
||||
},
|
||||
Rollback: func(tx *xorm.Engine) error {
|
||||
|
|
Loading…
Reference in New Issue