freshyo/apps/backend/drizzle/0016_eminent_thunderbolt_ross.sql
2026-01-24 00:13:15 +05:30

2 lines
No EOL
270 B
SQL

ALTER TABLE "mf"."coupons" ADD COLUMN "product_id" integer;--> statement-breakpoint
ALTER TABLE "mf"."coupons" ADD CONSTRAINT "coupons_product_id_product_info_id_fk" FOREIGN KEY ("product_id") REFERENCES "mf"."product_info"("id") ON DELETE no action ON UPDATE no action;