From 4ebd772e57469345120187fe01d956a3295d1468 Mon Sep 17 00:00:00 2001 From: René 'Necoro' Neumann Date: Sun, 25 Feb 2024 21:15:40 +0100 Subject: Small model changes / Reformatting --- model/models.go | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'model') diff --git a/model/models.go b/model/models.go index eba1207..2ac5a4b 100644 --- a/model/models.go +++ b/model/models.go @@ -19,7 +19,7 @@ type ConstExpense struct { ID int32 Description pgtype.Text Expense pgtype.Numeric - Months int16 + Duration pgtype.Interval Start pgtype.Date End pgtype.Date PrevID pgtype.Int4 @@ -31,9 +31,8 @@ type SingleExpense struct { ID int64 Description pgtype.Text Expense pgtype.Numeric - Year int16 - Month int16 - Day int16 + Date pgtype.Date + CorrMonth pgtype.Date CategoryID int32 UserID int32 } -- cgit v1.2.3-54-g00ecf