Skip to content

Commit 0e1f8dd

Browse files
authored
Feat: Case Insensitive Coupons (#322)
## Summary - Use lowercase in all related to coupons for easy user experience ## Screenshots ### Ref ![ref](https://github.com/user-attachments/assets/fd6520ec-d948-46dc-ac8a-c066b3bd8158) ### Before ![before](https://github.com/user-attachments/assets/63cdf407-98c6-45d9-8331-0a3df06d25ea) ### After ![after](https://github.com/user-attachments/assets/051d4a59-7816-460e-9e75-7002838d3b5f)
1 parent 76cc42e commit 0e1f8dd

6 files changed

Lines changed: 4211 additions & 4 deletions

File tree

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
DROP INDEX IF EXISTS "coupons_code_index";--> statement-breakpoint
2+
CREATE INDEX IF NOT EXISTS "coupons_code_index" ON "coupons" USING btree (lower("coupon"));

0 commit comments

Comments
 (0)