6 lines
230 B
MySQL
6 lines
230 B
MySQL
|
-- 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;
|