diff options
Diffstat (limited to 'models/migrations/v25.go')
-rw-r--r-- | models/migrations/v25.go | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/models/migrations/v25.go b/models/migrations/v25.go new file mode 100644 index 0000000000..a8d746590a --- /dev/null +++ b/models/migrations/v25.go @@ -0,0 +1,18 @@ +// Copyright 2017 Gitea. All rights reserved. +// Use of this source code is governed by a MIT-style +// license that can be found in the LICENSE file. + +package migrations + +import ( + "fmt" + + "github.com/go-xorm/xorm" +) + +func addUserOpenIDShow(x *xorm.Engine) error { + if err := x.Sync2(new(UserOpenID)); err != nil { + return fmt.Errorf("Sync2: %v", err) + } + return nil +} |