fix: migration

This commit is contained in:
David Nguyen
2024-06-06 19:14:53 +10:00
parent 783e47d297
commit 95a600001a

View File

@ -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";