Skip to content

Commit

Permalink
add timestamp explicitly when creating account balances
Browse files Browse the repository at this point in the history
  • Loading branch information
Hbbb committed Feb 5, 2024
1 parent 5529484 commit add368a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions cli/internal/db/query.sql
Original file line number Diff line number Diff line change
Expand Up @@ -118,5 +118,6 @@ WHERE "id" = ?;
INSERT INTO "AccountBalance"("current",
"available",
"isoCurrencyCode",
"accountPlaidId")
VALUES (?, ?, ?, ?);
"accountPlaidId",
"createdAt")
VALUES (?, ?, ?, ?, CURRENT_TIMESTAMP);
5 changes: 3 additions & 2 deletions cli/internal/db/query.sql.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit add368a

Please sign in to comment.