Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion backend/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ DB_USER=""
DB_PASS=""
DB_NAME="polinetwork_backend"

ENCRYPTION_KEY="" # you generate it with `openssl rand -hex 32` !!! LENGTH IS IMPORTANT !!!
ENCRYPTION_KEY="" # you generate it with `openssl rand -hex 32` !!! MINIMUM LENGTH = 32 bytes !!!

BETTER_AUTH_SECRET="" # you generate it with `openssl rand -hex 20`
# github provider https://www.better-auth.com/docs/authentication/github
Expand Down
10 changes: 10 additions & 0 deletions backend/drizzle/0004_colossal_jean_grey.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
CREATE TABLE "tg_users" (
"user_id" bigint PRIMARY KEY NOT NULL,
"first_name" varchar(192) NOT NULL,
"last_name" varchar(192),
"username" varchar(128),
"is_bot" boolean NOT NULL,
"lang_code" varchar(35),
"updated_at" timestamp (0),
"created_at" timestamp (0) DEFAULT now() NOT NULL
);
Loading