1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-08-05 09:55:20 +02:00

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)