-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of github.com:KBTG-Kampus-ClassNest-SE-Java/works…
…hop-group-5
- Loading branch information
Showing
4 changed files
with
10 additions
and
9 deletions.
There are no files selected for viewing
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
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
CREATE TABLE IF NOT EXISTS cart ( | ||
shopper_id int4 NOT NULL, | ||
products text NULL, | ||
promotions text NULL, | ||
CONSTRAINT cart_pk PRIMARY KEY (shopper_id) | ||
cart_id varchar NOT NULL, | ||
shopper_id int4 NULL, | ||
promotions varchar NULL, | ||
CONSTRAINT cart_pk PRIMARY KEY (cart_id) | ||
); |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
CREATE TABLE IF NOT EXISTS cart_item ( | ||
cart_id varchar NOT NULL, | ||
product_id varchar NOT NULL, | ||
quantity int4 NULL | ||
); |