Update CreateRepository

This commit is contained in:
Unknown
2014-03-09 20:06:29 -04:00
parent 76ce6f9848
commit 0d9b2f3860
5 changed files with 81 additions and 52 deletions

View File

@ -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)