Fix Budgets relation

This commit is contained in:
Jan Bader 2016-12-27 00:28:31 +01:00
parent 649b272caf
commit 0037cf045c

View File

@ -6,7 +6,7 @@ type User struct {
Email string Email string
Password string Password string
Name string Name string
Budgets []*Budget Budgets []*Budget `pg:",many2many:user_budgets"`
} }
// UserService provides Methods for CRUD of Users // UserService provides Methods for CRUD of Users