We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 90972f1 commit 7d29013Copy full SHA for 7d29013
models/migrations/v32.go
@@ -16,7 +16,7 @@ func addUnitsToRepoTeam(x *xorm.Engine) error {
16
return err
17
}
18
19
- _, err = x.Where("1=1").Update(&Team{
+ _, err = x.Update(&Team{
20
UnitTypes: []int{1, 2, 3, 4, 5, 6, 7, 8, 9},
21
})
22
0 commit comments