letsbe-hub/prisma/migrations/20260114115959_add_notifica.../migration.sql

12 lines
322 B
SQL

-- CreateTable
CREATE TABLE "notification_cooldowns" (
"id" TEXT NOT NULL,
"type" TEXT NOT NULL,
"last_sent_at" TIMESTAMP(3) NOT NULL,
CONSTRAINT "notification_cooldowns_pkey" PRIMARY KEY ("id")
);
-- CreateIndex
CREATE UNIQUE INDEX "notification_cooldowns_type_key" ON "notification_cooldowns"("type");