Dunno, just trying to get this thing going : (

This commit is contained in:
2025-08-10 00:16:50 +01:00
parent 65c112abfa
commit 528540a723
6 changed files with 77 additions and 59 deletions
+9 -1
View File
@@ -2,7 +2,6 @@ version: "2"
sql:
- engine: "sqlite"
queries: "queries/"
# Convert this to use a migrations/ (migrate)
schema: "migrations/"
gen:
go:
@@ -12,3 +11,12 @@ sql:
expenseTypes: "ExpenseTypes"
expenseShares: "ExpenseShares"
expensePayments: "ExpensePayments"
overrides:
- db_type: "float"
go_type:
import: "github.com/shopspring/decimal"
type: "DECIMAL"
- db_type: "DECIMAL"
go_type:
import: "github.com/shopspring/decimal"
type: "DECIMAL"