Skip to content

The Open Source DocuSign Alternative.

fix: migration

David Nguyen95a600001a1a
diff --git a/packages/prisma/migrations/20240606060033_add_public_profiles/migration.sql b/packages/prisma/migrations/20240606060033_add_public_profiles/migration.sql
index 8bb785a31..41ef16aa1 100644
--- a/packages/prisma/migrations/20240606060033_add_public_profiles/migration.sql
+++ b/packages/prisma/migrations/20240606060033_add_public_profiles/migration.sql
@@ -25,6 +25,9 @@ WHERE "User"."url" IN (
HAVING COUNT("UserTeamUrl"."url") > 1
);
+-- Custom (Drop existing profiles since they're not used)
+DELETE FROM "UserProfile";
+
-- DropForeignKey
ALTER TABLE "UserProfile" DROP CONSTRAINT "UserProfile_id_fkey";