-- CreateTable
CREATE TABLE "public"."SystemPrompt" (
    "id" TEXT NOT NULL,
    "chatTypes" "public"."AIChatTypes" NOT NULL DEFAULT 'supportive',
    "description" TEXT NOT NULL,
    "createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP,
    "updatedAt" TIMESTAMP(3) NOT NULL,
    "userId" TEXT NOT NULL,

    CONSTRAINT "SystemPrompt_pkey" PRIMARY KEY ("id")
);

-- AddForeignKey
ALTER TABLE "public"."SystemPrompt" ADD CONSTRAINT "SystemPrompt_userId_fkey" FOREIGN KEY ("userId") REFERENCES "public"."users"("id") ON DELETE CASCADE ON UPDATE CASCADE;
