We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c3f950 commit 8c96d6aCopy full SHA for 8c96d6a
models/migrations/v141.go
@@ -12,7 +12,7 @@ import (
12
13
func addKeepActivityPrivateUserColumn(x *xorm.Engine) error {
14
type User struct {
15
- KeepActivityPrivate bool
+ KeepActivityPrivate bool `xorm:"NOT NULL DEFAULT false"`
16
}
17
18
if err := x.Sync2(new(User)); err != nil {
0 commit comments