Return account details.

This commit is contained in:
2026-09-27 11:50:59 +02:00
parent 26a370aa31
commit 406f30ef80
7 changed files with 239 additions and 33 deletions
@@ -1,3 +1,14 @@
INSERT INTO
accounts (id, name)
VALUES (
'00000000-0000-0000-0000-000000000001',
'Checking Account'
),
(
'00000000-0000-0000-0000-000000000002',
'Savings Account'
);
INSERT INTO
transactions (
id,
@@ -27,6 +38,8 @@ INSERT INTO
name,
amount_cents,
direction,
source_account_id,
destination_account_id,
starts_at,
ends_at,
recurrence_every,
@@ -38,6 +51,8 @@ VALUES (
'Salary',
320000,
'in',
'00000000-0000-0000-0000-000000000001',
NULL,
'2026-10-01T09:00:00Z',
NULL,
1,
@@ -49,20 +64,11 @@ VALUES (
'Rent',
125000,
'out',
NULL,
'00000000-0000-0000-0000-000000000001',
'2026-10-01T09:00:00Z',
NULL,
1,
'month',
'previous_business_day'
);
INSERT INTO
accounts (id, name)
VALUES (
'00000000-0000-0000-0000-000000000001',
'Checking Account'
),
(
'00000000-0000-0000-0000-000000000002',
'Savings Account'
);