Skip to content

Commit

Permalink
fix(session): limit max active sessions and calculate session ttl ser…
Browse files Browse the repository at this point in the history
…verside (#104)

Co-authored-by: Aleksa Siriški <[email protected]>
  • Loading branch information
MikMik1011 and aleksasiriski authored Dec 29, 2024
1 parent cc69895 commit e72f5e8
Show file tree
Hide file tree
Showing 8 changed files with 645 additions and 23 deletions.
2 changes: 2 additions & 0 deletions drizzle/0002_known_marvel_apes.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ALTER TABLE "session" ADD COLUMN "timestamp" timestamp DEFAULT now() NOT NULL;--> statement-breakpoint
ALTER TABLE "session" DROP COLUMN IF EXISTS "expires_at";
Loading

0 comments on commit e72f5e8

Please sign in to comment.