10 Commits

Author SHA1 Message Date
a8bd03a805 Handle circular required keys
Use a dummy-value at first and update it later.
Deferrable doesn't seem to work for NOT NULL - only
for FOREIGN KEYs.
2021-12-14 14:13:23 +00:00
40a299141d Implement new budget with transaction to be able to satisfy not null columns 2021-12-11 20:19:52 +00:00
a0ebdd01aa Implement cleaning to set all historic negative balances to zero 2021-12-07 21:59:06 +00:00
64822912d9 Add available balance 2021-12-07 20:22:40 +00:00
4646356b2d Introduce own Numeric type and revert to stdlib from pgx 2021-12-02 21:32:01 +00:00
cdc767a497 Regenerate sqlc 2021-12-02 10:44:01 +00:00
4d1b883974 Merge schemas into one file 2021-12-02 10:09:57 +00:00
85ef7557c1 Use uuid.UUID everywhere and have postgres generate ids 2021-11-29 21:49:37 +00:00
5de7d32c30 Use goose for migrations 2021-11-08 22:24:21 +00:00
cf1bc70103 Begin migration to sqlc 2021-11-08 21:32:30 +00:00