Skip to content

Commit b89a5b6

Browse files
authored
fix: remove postgres and valkey host port exposure (#155)
2 parents 76a6543 + 4fb27bc commit b89a5b6

105 files changed

Lines changed: 2663 additions & 730 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
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+
ALTER TABLE "users" ADD COLUMN "phone" varchar(20);--> statement-breakpoint
9+
ALTER TABLE "users" ADD COLUMN "cpf" varchar(14);--> statement-breakpoint
10+
ALTER TABLE "users" ADD COLUMN "technologies" text[] DEFAULT '{}';--> statement-breakpoint
11+
ALTER TABLE "users" ADD COLUMN "level" varchar(50);--> statement-breakpoint
12+
CREATE UNIQUE INDEX "keywords_keyword_unique" ON "keywords" USING btree ("keyword");
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ALTER TABLE "users" ADD COLUMN "role" varchar(20) DEFAULT 'user' NOT NULL;

0 commit comments

Comments
 (0)