Skip to content

Commit

Permalink
Merge branch 'main' of github.com:KBTG-Kampus-ClassNest-SE-Java/works…
Browse files Browse the repository at this point in the history
…hop-group-5
  • Loading branch information
peachoenixzz committed Mar 24, 2024
2 parents d1b989f + b98bc9c commit f79b2d2
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion infra/gitops/dev/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ spec:
spec:
containers:
- name: kbazaar-api
image: ghcr.io/kbtg-kampus-classnest-se-java/workshop-group-5:18060fcf0229ca4c9b62e787a66070eacf0f21d7
image: ghcr.io/kbtg-kampus-classnest-se-java/workshop-group-5:59655af801d34f0f99e5ad6549dfb9159ebc0270
imagePullPolicy: Always
ports:
- containerPort: 8080
Expand Down
4 changes: 0 additions & 4 deletions kbazaar/src/main/resources/sql/data/cart.sql

This file was deleted.

8 changes: 4 additions & 4 deletions kbazaar/src/main/resources/sql/schema/cart.sql
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)
);
5 changes: 5 additions & 0 deletions kbazaar/src/main/resources/sql/schema/cart_item.sql
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
);

0 comments on commit f79b2d2

Please sign in to comment.