Skip to content

Commit

Permalink
table query added
Browse files Browse the repository at this point in the history
  • Loading branch information
KMJ-007 committed Sep 8, 2023
1 parent b036f68 commit e773bed
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,22 @@ npx prisma db push

Don't forget to always re-run those whenever there's a change on the `prisma/schema.prisma` file

if you don't want to do manually then you can run the following sql query in the database
```sql
CREATE TABLE "Session" (
"pkId" SERIAL NOT NULL,
"sessionId" VARCHAR(128) NOT NULL,
"id" VARCHAR(255) NOT NULL,
"data" TEXT NOT NULL,

CONSTRAINT "Session_pkey" PRIMARY KEY ("pkId")
);

CREATE INDEX "Session_sessionId_idx" ON "Session"("sessionId");

```


## `.env` Configurations
```env
# Pino Logger Level
Expand Down

0 comments on commit e773bed

Please sign in to comment.