"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "models/migrations/v141.go" between
gitea-1.13.1.tar.gz and gitea-1.13.2.tar.gz

About: Gitea allows to set up a self-hosted code hosting Git service (a fork of Gogs).

v141.go  (gitea-1.13.1):v141.go  (gitea-1.13.2)
skipping to change at line 15 skipping to change at line 15
package migrations package migrations
import ( import (
"fmt" "fmt"
"xorm.io/xorm" "xorm.io/xorm"
) )
func addKeepActivityPrivateUserColumn(x *xorm.Engine) error { func addKeepActivityPrivateUserColumn(x *xorm.Engine) error {
type User struct { type User struct {
KeepActivityPrivate bool KeepActivityPrivate bool `xorm:"NOT NULL DEFAULT false"`
} }
if err := x.Sync2(new(User)); err != nil { if err := x.Sync2(new(User)); err != nil {
return fmt.Errorf("Sync2: %v", err) return fmt.Errorf("Sync2: %v", err)
} }
return nil return nil
} }
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)