Skip to content

Commit 11fd7b9

Browse files
committed
feat: add the conection in the api backend
1 parent 90c15d1 commit 11fd7b9

13 files changed

Lines changed: 2585 additions & 1985 deletions

File tree

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
CREATE TABLE "keywords" (
2+
"id" uuid PRIMARY KEY DEFAULT gen_random_uuid() NOT NULL,
3+
"keyword" text NOT NULL,
4+
"source" text DEFAULT 'user' NOT NULL,
5+
"created_at" timestamp DEFAULT now() NOT NULL
6+
);
7+
--> statement-breakpoint
8+
CREATE UNIQUE INDEX "keywords_keyword_unique" ON "keywords" USING btree ("keyword");

0 commit comments

Comments
 (0)