Add IF NOT EXISTS (#26893)

This commit is contained in:
Joe Au-Yeung authored and GitHub committed 2026-01-15 16:46:09 +00:00
1 parent a328ff6bab
commit 40a7f53d1f
1 file changed
+1 -1
@@ -5,4 +5,4 @@
*/
-- CreateIndex
CREATE UNIQUE INDEX "AttributeSyncFieldMapping_integrationAttributeSyncId_attrib_key" ON "public"."AttributeSyncFieldMapping"("integrationAttributeSyncId", "attributeId");
CREATE UNIQUE INDEX IF NOT EXISTS "AttributeSyncFieldMapping_integrationAttributeSyncId_attrib_key" ON "public"."AttributeSyncFieldMapping"("integrationAttributeSyncId", "attributeId");