Fix Budgets relation
This commit is contained in:
parent
649b272caf
commit
0037cf045c
2
user.go
2
user.go
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user