1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-15 23:17:19 +00:00

Fix migration v141 (#14387) (#14388)

* Fix mig 141

* temporary fix dump
This commit is contained in:
6543
2021-01-23 12:33:03 +01:00
committed by GitHub
parent 841efac895
commit 00dc35e2de
2 changed files with 12 additions and 3 deletions

View File

@@ -12,7 +12,7 @@ import (
func addKeepActivityPrivateUserColumn(x *xorm.Engine) error {
type User struct {
KeepActivityPrivate bool
KeepActivityPrivate bool `xorm:"NOT NULL DEFAULT false"`
}
if err := x.Sync2(new(User)); err != nil {