summaryrefslogtreecommitdiffstats
path: root/models/migrations/v18.go
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2017-02-23 11:40:44 +0800
committerGitHub <noreply@github.com>2017-02-23 11:40:44 +0800
commit0e6b9ea786a77a4df4aa9fff1b96b9483bcdded5 (patch)
tree83ce2a577016f3a6fd478cce8e384f9b3118f3f6 /models/migrations/v18.go
parent4f3880ff151fcbda019a1a9467bc39da621fbe07 (diff)
downloadgitea-0e6b9ea786a77a4df4aa9fff1b96b9483bcdded5.tar.gz
gitea-0e6b9ea786a77a4df4aa9fff1b96b9483bcdded5.zip
Take back control of hooks (#1006)
* git: delegate all server-side Git hooks (#1623) * create hooks directories * take control hooks back * fix lint * bug fixed and minor changes * fix imports style * fix migration scripts
Diffstat (limited to 'models/migrations/v18.go')
-rw-r--r--models/migrations/v18.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/models/migrations/v18.go b/models/migrations/v18.go
index be51615341..3b3cd23ccf 100644
--- a/models/migrations/v18.go
+++ b/models/migrations/v18.go
@@ -13,8 +13,8 @@ import (
// ExternalLoginUser makes the connecting between some existing user and additional external login sources
type ExternalLoginUser struct {
ExternalID string `xorm:"NOT NULL"`
- UserID int64 `xorm:"NOT NULL"`
- LoginSourceID int64 `xorm:"NOT NULL"`
+ UserID int64 `xorm:"NOT NULL"`
+ LoginSourceID int64 `xorm:"NOT NULL"`
}
func addExternalLoginUser(x *xorm.Engine) error {