mirror of
https://github.com/crocofied/CoreControl.git
synced 2025-12-24 10:56:54 +00:00
12 lines
453 B
SQL
12 lines
453 B
SQL
-- 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;
|