Dunno, just trying to get this thing going : (
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user