From ec46d4591b0dbeed3987f077355d13256c86d50c Mon Sep 17 00:00:00 2001 From: Rogier Reerink Date: Sat, 3 Oct 2026 20:53:10 +0200 Subject: [PATCH] Updated seeds. --- .../20260928000000_seed_demo_data.sql | 22 +++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/server/migrations/20260928000000_seed_demo_data.sql b/server/migrations/20260928000000_seed_demo_data.sql index b696616..f10dbfe 100644 --- a/server/migrations/20260928000000_seed_demo_data.sql +++ b/server/migrations/20260928000000_seed_demo_data.sql @@ -2,6 +2,9 @@ INSERT INTO users (id) VALUES ( '00000000-0000-0000-0000-000000000001' + ), + ( + '00000000-0000-0000-0000-000000000002' ); INSERT INTO @@ -15,6 +18,17 @@ VALUES ( 'Savings Account' ); +INSERT INTO + account_members (account_id, user_id) +VALUES ( + '00000000-0000-0000-0000-000000000001', + '00000000-0000-0000-0000-000000000001' + ), + ( + '00000000-0000-0000-0000-000000000002', + '00000000-0000-0000-0000-000000000002' + ); + INSERT INTO transactions ( id, @@ -34,7 +48,7 @@ VALUES ( ), ( '00000000-0000-0000-0000-000000000002', - '00000000-0000-0000-0000-000000000001', + '00000000-0000-0000-0000-000000000002', 8450, 'out', '2026-09-18T17:30:00Z', @@ -55,7 +69,7 @@ INSERT INTO weekend_adjustment ) VALUES ( - '00000000-0000-0000-0000-000000000101', + '00000000-0000-0000-0000-000000000001', 'Salary', '00000000-0000-0000-0000-000000000001', 320000, @@ -67,9 +81,9 @@ VALUES ( NULL ), ( - '00000000-0000-0000-0000-000000000102', + '00000000-0000-0000-0000-000000000002', 'Rent', - '00000000-0000-0000-0000-000000000001', + '00000000-0000-0000-0000-000000000002', 125000, 'out', '2026-10-01T09:00:00Z',