We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f297345 commit ea5bdabCopy full SHA for ea5bdab
1 file changed
backend/sql/dummy_data2.sql
@@ -38,6 +38,9 @@ INSERT INTO Transaction (person_id, date, trans_type, site)
38
VALUES ((SELECT MAX(person_id) FROM Person), NOW(), 'donation', 1),
39
-- Add old transaction with goods that have been expiring.
40
((SELECT MIN(person_id) FROM Person), NOW() - INTERVAL '3 weeks', 'donation', 1),
41
+ -- Add three purchase transactions of same person_id:
42
+ ((SELECT MAX(person_id) FROM Person), NOW(), 'purchase', 1),
43
44
((SELECT MAX(person_id) FROM Person), NOW(), 'purchase', 1);
45
46
-- Insert test data for Trans_items
0 commit comments