Skip to content

Commit 8c96d6a

Browse files
committed
Fix mig 141
1 parent 0c3f950 commit 8c96d6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

models/migrations/v141.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import (
1212

1313
func addKeepActivityPrivateUserColumn(x *xorm.Engine) error {
1414
type User struct {
15-
KeepActivityPrivate bool
15+
KeepActivityPrivate bool `xorm:"NOT NULL DEFAULT false"`
1616
}
1717

1818
if err := x.Sync2(new(User)); err != nil {

0 commit comments

Comments
 (0)