aboutsummaryrefslogtreecommitdiffstats
path: root/models/models.go
diff options
context:
space:
mode:
authorUnknwon <joe2010xtmf@163.com>2014-10-08 18:29:18 -0400
committerUnknwon <joe2010xtmf@163.com>2014-10-08 18:29:18 -0400
commit1aa76bd27913e40780aa66fe6b6c1158e20b7bef (patch)
treeafd0979216a6a4a6f3fe72d4f8c391fc5b7ab0fe /models/models.go
parent54c9844d665cdd554ae8945aae2ee966df5ddfc4 (diff)
downloadgitea-1aa76bd27913e40780aa66fe6b6c1158e20b7bef.tar.gz
gitea-1aa76bd27913e40780aa66fe6b6c1158e20b7bef.zip
Fix #532, add system notice
Diffstat (limited to 'models/models.go')
-rw-r--r--models/models.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/models/models.go b/models/models.go
index 570df0c114..35eb4c9692 100644
--- a/models/models.go
+++ b/models/models.go
@@ -32,12 +32,12 @@ var (
)
func init() {
- tables = append(tables, new(User), new(PublicKey),
+ tables = append(tables, new(User), new(PublicKey), new(Follow), new(Oauth2),
new(Repository), new(Watch), new(Star), new(Action), new(Access),
- new(Issue), new(Comment), new(Oauth2), new(Follow),
- new(Mirror), new(Release), new(LoginSource), new(Webhook), new(IssueUser),
- new(Milestone), new(Label), new(HookTask), new(Team), new(OrgUser), new(TeamUser),
- new(UpdateTask), new(Attachment))
+ 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(Notice))
}
func LoadModelsConfig() {