Adds missing migration

pull/3500/head
zomars 2022-07-22 18:25:46 -06:00
parent b8a807da59
commit dd9adff32a
1 changed files with 5 additions and 0 deletions

View File

@ -0,0 +1,5 @@
-- DropForeignKey
ALTER TABLE "Membership" DROP CONSTRAINT "Membership_teamId_fkey";
-- AddForeignKey
ALTER TABLE "Membership" ADD CONSTRAINT "Membership_teamId_fkey" FOREIGN KEY ("teamId") REFERENCES "Team"("id") ON DELETE RESTRICT ON UPDATE CASCADE;