diff --git a/db/debt.go b/db/debt.go index 3c9ef6c..ba07c29 100644 --- a/db/debt.go +++ b/db/debt.go @@ -16,4 +16,6 @@ type Debt struct { Date time.Time DateEnd time.Time Finished bool + UserID uint + User *User } diff --git a/db/income.go b/db/income.go index 56d4894..e961bab 100644 --- a/db/income.go +++ b/db/income.go @@ -13,4 +13,6 @@ type Income struct { Value uint64 Comment string Date time.Time + UserID uint + User *User }