diff options
author | Unknwon <u@gogs.io> | 2015-02-23 02:15:53 -0500 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-02-23 02:15:53 -0500 |
commit | ee68a826a55c6a4305e7f609db57501a54a5bc47 (patch) | |
tree | 935e76f3934c68c54fcb0af1f8f51cf8adb9abcd /models/models.go | |
parent | e90f014e4a85d163c68ffb2d1d0e5ea888e9b569 (diff) | |
download | gitea-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.go | 5 |
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)) } |