cal.pub0.org/packages/prisma/migrations/20230515121841_add_team_web.../migration.sql

6 lines
230 B
MySQL
Raw Normal View History

-- AlterTable
ALTER TABLE "Webhook" ADD COLUMN "teamId" INTEGER;
-- AddForeignKey
ALTER TABLE "Webhook" ADD CONSTRAINT "Webhook_teamId_fkey" FOREIGN KEY ("teamId") REFERENCES "Team"("id") ON DELETE CASCADE ON UPDATE CASCADE;