aboutsummaryrefslogtreecommitdiffstats
path: root/models/models.go
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-02-23 02:15:53 -0500
committerUnknwon <u@gogs.io>2015-02-23 02:15:53 -0500
commitee68a826a55c6a4305e7f609db57501a54a5bc47 (patch)
tree935e76f3934c68c54fcb0af1f8f51cf8adb9abcd /models/models.go
parente90f014e4a85d163c68ffb2d1d0e5ea888e9b569 (diff)
downloadgitea-ee68a826a55c6a4305e7f609db57501a54a5bc47.tar.gz
gitea-ee68a826a55c6a4305e7f609db57501a54a5bc47.zip
v4 migration, merge 'dev', clean code and mirror fix
Diffstat (limited to 'models/models.go')
-rw-r--r--models/models.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/models/models.go b/models/models.go
index b0c3b8978f..a9436fca85 100644
--- a/models/models.go
+++ b/models/models.go
@@ -16,7 +16,7 @@ import (
"github.com/go-xorm/xorm"
_ "github.com/lib/pq"
- // "github.com/gogits/gogs/models/migrations"
+ "github.com/gogits/gogs/models/migrations"
"github.com/gogits/gogs/modules/setting"
)
@@ -59,7 +59,8 @@ func init() {
new(Watch), new(Star), new(Follow), new(Action),
new(Issue), new(Comment), new(Attachment), new(IssueUser), new(Label), new(Milestone),
new(Mirror), new(Release), new(LoginSource), new(Webhook),
- new(UpdateTask), new(HookTask), new(Team), new(OrgUser), new(TeamUser),
+ new(UpdateTask), new(HookTask),
+ new(Team), new(OrgUser), new(TeamUser), new(TeamRepo),
new(Notice), new(EmailAddress))
}