cal.pub0.org/packages/prisma/migrations/20220723001233_/migration.sql

6 lines
253 B
MySQL
Raw Normal View History

2022-07-23 00:25:46 +00:00
-- 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;