From 825b25a60b8ab76204d6973a2475b484f9245632 Mon Sep 17 00:00:00 2001 From: headlessdev Date: Wed, 23 Apr 2025 21:04:43 +0200 Subject: [PATCH] Add test_notification model to Prisma schema --- .../20250423190419_test_notification/migration.sql | 7 +++++++ prisma/schema.prisma | 7 ++++++- 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 prisma/migrations/20250423190419_test_notification/migration.sql diff --git a/prisma/migrations/20250423190419_test_notification/migration.sql b/prisma/migrations/20250423190419_test_notification/migration.sql new file mode 100644 index 0000000..f15ee09 --- /dev/null +++ b/prisma/migrations/20250423190419_test_notification/migration.sql @@ -0,0 +1,7 @@ +-- CreateTable +CREATE TABLE "test_notification" ( + "id" SERIAL NOT NULL, + "notificationId" INTEGER NOT NULL, + + CONSTRAINT "test_notification_pkey" PRIMARY KEY ("id") +); diff --git a/prisma/schema.prisma b/prisma/schema.prisma index 39562aa..b0dd79a 100644 --- a/prisma/schema.prisma +++ b/prisma/schema.prisma @@ -97,4 +97,9 @@ model notification { pushoverUrl String? pushoverToken String? pushoverUser String? -} \ No newline at end of file +} + +model test_notification { + id Int @id @default(autoincrement()) + notificationId Int +}