Skip to content

Commit

Permalink
Fixed dummy data transactions, added demo user
Browse files Browse the repository at this point in the history
  • Loading branch information
alfigueiras committed Feb 12, 2024
1 parent 101e28d commit 364b348
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions backend/init-demo.sql
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ VALUES
(CURRENT_DATE - INTERVAL '2 months 17 days' - INTERVAL '3 months', '3D Print Materials', -20, FALSE, TRUE),
(CURRENT_DATE - INTERVAL '1 month 17 days' - INTERVAL '3 months', '3D Print Materials', -20, FALSE, TRUE),
(CURRENT_DATE - INTERVAL '28 days' - INTERVAL '3 months', '3D Print Materials', -20, FALSE, TRUE),
(CURRENT_DATE - INTERVAL '2 days' - INTERVAL '3 months', '3D Print Materials', -20, TRUE, TRUE),
(CURRENT_DATE - INTERVAL '2 days' - INTERVAL '3 months', '3D Print Materials', -20, FALSE, TRUE),
(CURRENT_DATE - INTERVAL '2 months' - INTERVAL '3 months', 'Print Request', 40, FALSE, TRUE),
(CURRENT_DATE - INTERVAL '1 months' - INTERVAL '3 months', 'Print Request', 60, FALSE, TRUE),
(CURRENT_DATE - INTERVAL '23 days' - INTERVAL '3 months', 'Print Request', 30, FALSE, TRUE),
Expand Down Expand Up @@ -284,9 +284,10 @@ VALUES

INSERT INTO users
VALUES
('ist11xxxxx', TRUE, 'Jane Smith', '', '[email protected]'),
('ist12xxxxx', TRUE, 'John Doe', '', '[email protected]'),
('ist13xxxxx', TRUE, 'Tom Bloggs', '', '[email protected]');
('ist11xxxxx', TRUE, 'Demo User', '', '[email protected]'),
('ist12xxxxx', TRUE, 'Jane Smith', '', '[email protected]'),
('ist13xxxxx', TRUE, 'John Doe', '', '[email protected]'),
('ist14xxxxx', TRUE, 'Tom Bloggs', '', '[email protected]');

INSERT INTO reminders(title, "description", "date")
VALUES
Expand Down

0 comments on commit 364b348

Please sign in to comment.