Skip to content

Commit d1454d5

Browse files
committed
fix merge conflict.
2 parents 0736d90 + 9857382 commit d1454d5

File tree

7 files changed

+1181
-2199
lines changed

7 files changed

+1181
-2199
lines changed

models/seeds.sql

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -97,29 +97,29 @@ INSERT INTO Transactions (userID, productID, date, productQty, startLoc, endLoc,
9797
VALUES ((SELECT userID FROM Users WHERE firstName = 'gus'), (SELECT productID FROM Products WHERE name = 'tuna'), NOW(),
9898
2, 'shelf', 'sold', NOW(), NOW());
9999
INSERT INTO Transactions (userID, productID, date, productQty, startLoc, endLoc, createdAt, updatedAt)
100-
VALUES ((SELECT userID FROM Users WHERE firstName = 'gus'), (SELECT productID FROM Products WHERE name = 'tea'), NOW(),
100+
VALUES ((SELECT userID FROM Users WHERE firstName = 'gus'), (SELECT productID FROM Products WHERE name = 'tea'), NOW() + 1000000,
101101
1, 'shelf', 'sold', NOW(), NOW());
102102
INSERT INTO Transactions (userID, productID, date, productQty, startLoc, endLoc, createdAt, updatedAt)
103-
VALUES ((SELECT userID FROM Users WHERE firstName = 'gus'), (SELECT productID FROM Products WHERE name = 'beef'), NOW(),
103+
VALUES ((SELECT userID FROM Users WHERE firstName = 'gus'), (SELECT productID FROM Products WHERE name = 'beef'), NOW() + 2000000,
104104
3, 'shelf', 'sold', NOW(), NOW());
105105
INSERT INTO Transactions (userID, productID, date, productQty, startLoc, endLoc, createdAt, updatedAt)
106-
VALUES ((SELECT userID FROM Users WHERE firstName = 'gus'), (SELECT productID FROM Products WHERE name = 'milk'), NOW(),
106+
VALUES ((SELECT userID FROM Users WHERE firstName = 'gus'), (SELECT productID FROM Products WHERE name = 'milk'), NOW() + 3000000,
107107
10, 'shelf', 'sold', NOW(), NOW());
108108
INSERT INTO Transactions (userID, productID, date, productQty, startLoc, endLoc, createdAt, updatedAt)
109-
VALUES ((SELECT userID FROM Users WHERE firstName = 'jane'), (SELECT productID FROM Products WHERE name = 'tea'), NOW(),
109+
VALUES ((SELECT userID FROM Users WHERE firstName = 'jane'), (SELECT productID FROM Products WHERE name = 'tea'), NOW() + 4000000,
110110
1, 'shelf', 'sold', NOW(), NOW());
111111
INSERT INTO Transactions (userID, productID, date, productQty, startLoc, endLoc, createdAt, updatedAt)
112112
VALUES ((SELECT userID FROM Users WHERE firstName = 'jane'), (SELECT productID FROM Products WHERE name = 'pasta'),
113113
NOW(), 1, 'shelf', 'sold', NOW(), NOW());
114114
INSERT INTO Transactions (userID, productID, date, productQty, startLoc, endLoc, createdAt, updatedAt)
115115
VALUES ((SELECT userID FROM Users WHERE firstName = 'saul'), (SELECT productID FROM Products WHERE name = 'pasta'),
116-
NOW(), 14, 'shelf', 'sold', NOW(), NOW());
116+
NOW() + 1000000, 14, 'shelf', 'sold', NOW(), NOW());
117117
INSERT INTO Transactions (userID, productID, date, productQty, startLoc, endLoc, createdAt, updatedAt)
118118
VALUES ((SELECT userID FROM Users WHERE firstName = 'saul'), (SELECT productID FROM Products WHERE name = 'coffee'),
119-
NOW(), 10, 'shelf', 'sold', NOW(), NOW());
119+
NOW() + 2000000, 10, 'shelf', 'sold', NOW(), NOW());
120120
INSERT INTO Transactions (userID, productID, date, productQty, startLoc, endLoc, createdAt, updatedAt)
121-
VALUES ((SELECT userID FROM Users WHERE firstName = 'saul'), (SELECT productID FROM Products WHERE name = 'tea'), NOW(),
121+
VALUES ((SELECT userID FROM Users WHERE firstName = 'saul'), (SELECT productID FROM Products WHERE name = 'tea'), NOW() + 3000000,
122122
3, 'shelf', 'sold', NOW(), NOW());
123123
INSERT INTO Transactions (userID, productID, date, productQty, startLoc, endLoc, createdAt, updatedAt)
124124
VALUES ((SELECT userID FROM Users WHERE firstName = 'saul'), (SELECT productID FROM Products WHERE name = 'milk'),
125-
NOW(), 1, 'shelf', 'sold', NOW(), NOW());
125+
NOW() + 4000000, 1, 'shelf', 'sold', NOW(), NOW());

0 commit comments

Comments
 (0)