Skip to content

Commit 45be417

Browse files
committed
added llm generation
1 parent 22f70a8 commit 45be417

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
-- CreateTable
2+
CREATE TABLE "llm"."Generation" (
3+
"id" TEXT NOT NULL,
4+
"userId" TEXT NOT NULL,
5+
"prompt" TEXT NOT NULL,
6+
"result" TEXT NOT NULL,
7+
"createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP,
8+
"updatedAt" TIMESTAMP(3) NOT NULL,
9+
10+
CONSTRAINT "Generation_pkey" PRIMARY KEY ("id")
11+
);
12+
13+
-- CreateIndex
14+
CREATE INDEX "Generation_userId_idx" ON "llm"."Generation"("userId");

0 commit comments

Comments
 (0)