Skip to content

Commit

Permalink
sql purchases
Browse files Browse the repository at this point in the history
  • Loading branch information
Julieta Frade committed Apr 25, 2018
1 parent adf7701 commit bfffc7b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions resources/sql/seed.sql
Original file line number Diff line number Diff line change
Expand Up @@ -421,10 +421,10 @@ INSERT INTO product_carts ("user_id", "product_id", quantity) VALUES (12, 12, 1)
INSERT INTO product_carts ("user_id", "product_id", quantity) VALUES (13, 4, 2);

/*PURCHASES*/
INSERT INTO purchases (date, total, "user_id", "address_id", status) VALUES ('2017-08-07', 2914.73, 21, 4, 'Processing');
INSERT INTO purchases (date, total, "user_id", "address_id", status) VALUES ('2017-10-31', 1709.06, 21, 1, 'Shipped');
INSERT INTO purchases (date, total, "user_id", "address_id", status) VALUES ('2017-10-04', 3964.32, 21, 1, 'Delivered');
INSERT INTO purchases (date, total, "user_id", "address_id", status) VALUES ('2017-08-18', 1408.06, 21, 16, 'Processing');
INSERT INTO purchases (date, total, "user_id", "address_id", status) VALUES ('2017-08-07', 2542.42, 21, 4, 'Processing');
INSERT INTO purchases (date, total, "user_id", "address_id", status) VALUES ('2017-10-31', 1072.94, 21, 1, 'Shipped');
INSERT INTO purchases (date, total, "user_id", "address_id", status) VALUES ('2017-10-04', 2878.82, 21, 1, 'Delivered');
INSERT INTO purchases (date, total, "user_id", "address_id", status) VALUES ('2017-08-18', 1119.94, 21, 16, 'Processing');
INSERT INTO purchases (date, total, "user_id", "address_id", status) VALUES ('2017-04-11', 1115.11, 8, 9, 'Shipped');
INSERT INTO purchases (date, total, "user_id", "address_id", status) VALUES ('2017-12-12', 4507.83, 8, 9, 'Shipped');
INSERT INTO purchases (date, total, "user_id", "address_id", status) VALUES ('2018-01-20', 899.21, 14, 18, 'Processing');
Expand Down

0 comments on commit bfffc7b

Please sign in to comment.