diff --git a/postgres/transactions.sql.go b/postgres/transactions.sql.go index 8360017..40e4d22 100644 --- a/postgres/transactions.sql.go +++ b/postgres/transactions.sql.go @@ -60,7 +60,7 @@ type GetTransactionsForAccountRow struct { ID uuid.UUID Date time.Time Memo string - Amount postgres.Numeric + Amount Numeric Account string Payee string } diff --git a/sqlc.yaml b/sqlc.yaml index ed524bf..4417ed2 100644 --- a/sqlc.yaml +++ b/sqlc.yaml @@ -6,8 +6,10 @@ packages: schema: "postgres/schema/" queries: "postgres/queries/" overrides: - - go_type: "git.javil.eu/jacob1123/budgeteer/postgres.Numeric" + - go_type: + type: "Numeric" db_type: "pg_catalog.numeric" - - go_type: "git.javil.eu/jacob1123/budgeteer/postgres.Numeric" + - go_type: + type: "Numeric" db_type: "pg_catalog.numeric" nullable: true \ No newline at end of file