diff options
author | Unknown <joe2010xtmf@163.com> | 2014-03-26 12:31:01 -0400 |
---|---|---|
committer | Unknown <joe2010xtmf@163.com> | 2014-03-26 12:31:01 -0400 |
commit | 4b9eef50c9bf91e6ca2d85d9e63dc69b0ffba737 (patch) | |
tree | 15c5fd6dd9b72ba61e306ec8b068b35d3bc19239 /models/models.go | |
parent | 8c2f751bbb22ebf06c7f7f9621614b6e46130210 (diff) |
Add comment of issue
Diffstat (limited to 'models/models.go')
-rw-r--r-- | models/models.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/models.go b/models/models.go index ad19a929..813725be 100644 --- a/models/models.go +++ b/models/models.go @@ -72,7 +72,7 @@ func setEngine() { func NewEngine() { setEngine() if err := orm.Sync(new(User), new(PublicKey), new(Repository), new(Watch), - new(Action), new(Access), new(Issue)); err != nil { + new(Action), new(Access), new(Issue), new(Comment)); err != nil { fmt.Printf("sync database struct error: %v\n", err) os.Exit(2) } |