Refactored src and dst account to just account in preparation for a "counter party", instead of a full account.
This commit is contained in:
@@ -18,34 +18,36 @@ VALUES (
|
||||
INSERT INTO
|
||||
transactions (
|
||||
id,
|
||||
description,
|
||||
account_id,
|
||||
amount_cents,
|
||||
direction,
|
||||
date
|
||||
date,
|
||||
description
|
||||
)
|
||||
VALUES (
|
||||
'00000000-0000-0000-0000-000000000001',
|
||||
'Salary',
|
||||
'00000000-0000-0000-0000-000000000001',
|
||||
320000,
|
||||
'in',
|
||||
'2026-09-01T09:00:00Z'
|
||||
'2026-09-01T09:00:00Z',
|
||||
'Salary'
|
||||
),
|
||||
(
|
||||
'00000000-0000-0000-0000-000000000002',
|
||||
'Groceries',
|
||||
'00000000-0000-0000-0000-000000000001',
|
||||
8450,
|
||||
'out',
|
||||
'2026-09-18T17:30:00Z'
|
||||
'2026-09-18T17:30:00Z',
|
||||
'Groceries'
|
||||
);
|
||||
|
||||
INSERT INTO
|
||||
recurring_transactions (
|
||||
id,
|
||||
name,
|
||||
account_id,
|
||||
amount_cents,
|
||||
direction,
|
||||
source_account_id,
|
||||
destination_account_id,
|
||||
starts_at,
|
||||
ends_at,
|
||||
recurrence_every,
|
||||
@@ -55,10 +57,9 @@ INSERT INTO
|
||||
VALUES (
|
||||
'00000000-0000-0000-0000-000000000101',
|
||||
'Salary',
|
||||
'00000000-0000-0000-0000-000000000001',
|
||||
320000,
|
||||
'in',
|
||||
'00000000-0000-0000-0000-000000000001',
|
||||
NULL,
|
||||
'2026-10-01T09:00:00Z',
|
||||
NULL,
|
||||
1,
|
||||
@@ -68,10 +69,9 @@ VALUES (
|
||||
(
|
||||
'00000000-0000-0000-0000-000000000102',
|
||||
'Rent',
|
||||
'00000000-0000-0000-0000-000000000001',
|
||||
125000,
|
||||
'out',
|
||||
NULL,
|
||||
'00000000-0000-0000-0000-000000000001',
|
||||
'2026-10-01T09:00:00Z',
|
||||
NULL,
|
||||
1,
|
||||
|
||||
Reference in New Issue
Block a user