summaryrefslogtreecommitdiffstats
path: root/models/models.go
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-03-22 13:50:50 -0400
committerUnknown <joe2010xtmf@163.com>2014-03-22 13:50:50 -0400
commit61e29226015fad6451281035948c3d8d1364880c (patch)
tree6ef97e9b24040d880913eb09d3e1b00ea4727e2e /models/models.go
parente3f55ca0fb0c8aee84f2935b76353ef8ce66384f (diff)
downloadgitea-61e29226015fad6451281035948c3d8d1364880c.tar.gz
gitea-61e29226015fad6451281035948c3d8d1364880c.zip
Working on issues
Diffstat (limited to 'models/models.go')
-rw-r--r--models/models.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/models.go b/models/models.go
index 8713ff2896..fb749c5d8a 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)); err != nil {
+ new(Action), new(Access), new(Issue)); err != nil {
fmt.Printf("sync database struct error: %v\n", err)
os.Exit(2)
}