mirror of
https://github.com/wasp-lang/wasp.git
synced 2025-01-01 21:52:28 +03:00
13 lines
275 B
SQL
13 lines
275 B
SQL
-- CreateExtension
|
|
CREATE EXTENSION IF NOT EXISTS "vector";
|
|
|
|
-- CreateTable
|
|
CREATE TABLE "Document" (
|
|
"id" TEXT NOT NULL,
|
|
"title" TEXT NOT NULL,
|
|
"content" TEXT NOT NULL,
|
|
"embedding" vector(1536) NOT NULL,
|
|
|
|
CONSTRAINT "Document_pkey" PRIMARY KEY ("id")
|
|
);
|