Files
CoreControl/prisma/migrations/20250523201308_notification_test/migration.sql

12 lines
453 B
MySQL
Raw Normal View History

2025-05-24 13:07:18 +02:00
-- CreateTable
CREATE TABLE "notification_tests" (
"id" SERIAL NOT NULL,
"notificationProviderId" INTEGER NOT NULL,
"success" BOOLEAN NOT NULL,
CONSTRAINT "notification_tests_pkey" PRIMARY KEY ("id")
);
-- AddForeignKey
ALTER TABLE "notification_tests" ADD CONSTRAINT "notification_tests_notificationProviderId_fkey" FOREIGN KEY ("notificationProviderId") REFERENCES "notification_providers"("id") ON DELETE CASCADE ON UPDATE CASCADE;