From 0d9b2f38600325e3a8d87526061efbe9e3b78b91 Mon Sep 17 00:00:00 2001 From: Unknown Date: Sun, 9 Mar 2014 20:06:29 -0400 Subject: Update CreateRepository --- models/models.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'models/models.go') 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) -- cgit v1.2.3