Skip to content

Commit

Permalink
fix : edit sql
Browse files Browse the repository at this point in the history
  • Loading branch information
joecstu committed Mar 23, 2024
1 parent c4e9721 commit 5f93104
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kbazaar/src/main/resources/sql/schema/cart.sql
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ CREATE TABLE IF NOT EXISTS cart (
product_sku varchar(255) NOT NULL,
CONSTRAINT cart_pk PRIMARY KEY (product_id, shopper_id)
);
CREATE INDEX cart_shopper_id_idx ON public.cart USING btree (shopper_id);
CREATE INDEX IF NOT EXISTS cart_shopper_id_idx ON cart USING btree (shopper_id);

0 comments on commit 5f93104

Please sign in to comment.