x
This commit is contained in:
1 parent
230716933e
commit
3bbe2bb35e
16 files changed
+1815
-109
No files matched your search
@@ -0,0 +1,20 @@
|
||||
-- CreateTable
|
||||
CREATE TABLE "LlmPrompt" (
|
||||
"id" SERIAL NOT NULL,
|
||||
"title" TEXT NOT NULL,
|
||||
"category" TEXT NOT NULL DEFAULT 'custom',
|
||||
"description" TEXT,
|
||||
"tags" TEXT[] DEFAULT ARRAY[]::TEXT[],
|
||||
"content" TEXT NOT NULL,
|
||||
"isSystem" BOOLEAN NOT NULL DEFAULT false,
|
||||
"createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||||
"updatedAt" TIMESTAMP(3) NOT NULL,
|
||||
|
||||
CONSTRAINT "LlmPrompt_pkey" PRIMARY KEY ("id")
|
||||
);
|
||||
|
||||
-- CreateIndex
|
||||
CREATE INDEX "LlmPrompt_category_idx" ON "LlmPrompt"("category");
|
||||
|
||||
-- CreateIndex
|
||||
CREATE INDEX "LlmPrompt_isSystem_idx" ON "LlmPrompt"("isSystem");
|
||||
Reference in new issue
Block a user