diff options
author | Unknown <joe2010xtmf@163.com> | 2014-03-09 20:06:29 -0400 |
---|---|---|
committer | Unknown <joe2010xtmf@163.com> | 2014-03-09 20:06:29 -0400 |
commit | 0d9b2f38600325e3a8d87526061efbe9e3b78b91 (patch) | |
tree | 3a4be95f75d5ef206be5987f430b8f52ec768df2 /models/models.go | |
parent | 76ce6f98487b3754992da18969df37560e49ee82 (diff) | |
download | gitea-0d9b2f38600325e3a8d87526061efbe9e3b78b91.tar.gz gitea-0d9b2f38600325e3a8d87526061efbe9e3b78b91.zip |
Update CreateRepository
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 e0ab3ca15a..7dfc0aaf0a 100644 --- a/models/models.go +++ b/models/models.go @@ -90,7 +90,7 @@ func setEngine() { func init() { setEngine() - err := orm.Sync(new(User), new(PublicKey), new(Repo), new(Access)) + err := orm.Sync(new(User), new(PublicKey), new(Repository), new(Access)) if err != nil { fmt.Printf("sync database struct error: %s\n", err) os.Exit(2) |