Skip to content

Commit 821ed79

Browse files
authored
feat: add currency (#76)
Resolves #47.
1 parent c1a1a2a commit 821ed79

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

internal/models/budget.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ package models
66
// resources reference it directly or transitively.
77
type Budget struct {
88
Model
9-
Name string `json:"name,omitempty"`
10-
Note string `json:"note,omitempty"`
9+
Name string `json:"name,omitempty"`
10+
Note string `json:"note,omitempty"`
11+
Currency string `json:"currency,omitempty"`
1112
}

internal/test/data/gorm.db

-56 KB
Binary file not shown.

0 commit comments

Comments
 (0)