-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
18 additions
and
18 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,31 +36,31 @@ CREATE TABLE Reviews ( | |
); | ||
|
||
-- TEST | ||
INSERT INTO Users (username, password, email, phone, apt_id) | ||
VALUES ('Zongxian', '12345abcde', '[email protected]', '1234567890', 1); | ||
-- INSERT INTO Users (username, password, email, phone, apt_id) | ||
-- VALUES ('Zongxian', '12345abcde', '[email protected]', '1234567890', 1); | ||
|
||
INSERT INTO Users (username, password, email, phone, apt_id) | ||
VALUES ('MonteCarlo', 'qwert#6767', '[email protected]', '9876543210', 2); | ||
-- INSERT INTO Users (username, password, email, phone, apt_id) | ||
-- VALUES ('MonteCarlo', 'qwert#6767', '[email protected]', '9876543210', 2); | ||
|
||
INSERT INTO Users (username, password, email, phone, apt_id) | ||
VALUES ('Minh', 'hello123', 'Minh.com', '9876543210', 2); | ||
-- INSERT INTO Users (username, password, email, phone, apt_id) | ||
-- VALUES ('Minh', 'hello123', 'Minh.com', '9876543210', 2); | ||
|
||
INSERT INTO Apartments (apt_name, apt_address, price_min, price_max, link) | ||
VALUES ('The Dean Campustown', '708 S 6th St, Champaign, IL 61820', 860, 1900, 'https://www.apartmentfinder.com/Illinois/Champaign-Apartments/The-Dean-Campustown-Apartments-ttrtct8'); | ||
-- INSERT INTO Apartments (apt_name, apt_address, price_min, price_max, link) | ||
-- VALUES ('The Dean Campustown', '708 S 6th St, Champaign, IL 61820', 860, 1900, 'https://www.apartmentfinder.com/Illinois/Champaign-Apartments/The-Dean-Campustown-Apartments-ttrtct8'); | ||
|
||
INSERT INTO Apartments (apt_name, apt_address, price_min, price_max, link) | ||
VALUES ('Seven07 Apartments', '707 S 4th St, Champaign, IL 61820', 856, 1750, 'https://www.apartmentfinder.com/Illinois/Champaign-Apartments/Seven07-Apartments-75ckgzx'); | ||
-- INSERT INTO Apartments (apt_name, apt_address, price_min, price_max, link) | ||
-- VALUES ('Seven07 Apartments', '707 S 4th St, Champaign, IL 61820', 856, 1750, 'https://www.apartmentfinder.com/Illinois/Champaign-Apartments/Seven07-Apartments-75ckgzx'); | ||
|
||
INSERT INTO AptPics (apt_id, link) | ||
VALUES (2, 'https://image1.apartmentfinder.com/i2/yI_vOGHFLSjSR7fuXTtN6vEcPux3OoeLbY-pKtkIda8/116/seven07-champaign-il-4-br-4-ba---living-room.jpg'); | ||
-- INSERT INTO AptPics (apt_id, link) | ||
-- VALUES (2, 'https://image1.apartmentfinder.com/i2/yI_vOGHFLSjSR7fuXTtN6vEcPux3OoeLbY-pKtkIda8/116/seven07-champaign-il-4-br-4-ba---living-room.jpg'); | ||
|
||
INSERT INTO AptPics (apt_id, link) | ||
VALUES (2, 'https://image1.apartmentfinder.com/i2/fU58gLkELEv-9Yoe6T4cecz5HcARTNYp-eA3RtF1wY0/116/seven07-champaign-il-building-photo.jpg'); | ||
-- INSERT INTO AptPics (apt_id, link) | ||
-- VALUES (2, 'https://image1.apartmentfinder.com/i2/fU58gLkELEv-9Yoe6T4cecz5HcARTNYp-eA3RtF1wY0/116/seven07-champaign-il-building-photo.jpg'); | ||
|
||
INSERT INTO Reviews (apt_id, user_id, date_of_rating, comment, vote) | ||
VALUES (1, 1, '2021-09-23', 'Great Apartment, I love it!', 1); | ||
-- INSERT INTO Reviews (apt_id, user_id, date_of_rating, comment, vote) | ||
-- VALUES (1, 1, '2021-09-23', 'Great Apartment, I love it!', 1); | ||
|
||
INSERT INTO Reviews (apt_id, user_id, date_of_rating, comment, vote) | ||
VALUES (2, 2, '2021-09-23', 'Shit Apartment, I hate it!', -1); | ||
-- INSERT INTO Reviews (apt_id, user_id, date_of_rating, comment, vote) | ||
-- VALUES (2, 2, '2021-09-23', 'Shit Apartment, I hate it!', -1); | ||
|
||
|
812eb1e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Coverage Report
812eb1e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Coverage Report
812eb1e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Coverage Report