summaryrefslogtreecommitdiffstats
path: root/models/models.go
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-03-09 20:06:29 -0400
committerUnknown <joe2010xtmf@163.com>2014-03-09 20:06:29 -0400
commit0d9b2f38600325e3a8d87526061efbe9e3b78b91 (patch)
tree3a4be95f75d5ef206be5987f430b8f52ec768df2 /models/models.go
parent76ce6f98487b3754992da18969df37560e49ee82 (diff)
downloadgitea-0d9b2f38600325e3a8d87526061efbe9e3b78b91.tar.gz
gitea-0d9b2f38600325e3a8d87526061efbe9e3b78b91.zip
Update CreateRepository
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 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)