Skip to content

Commit b8bce84

Browse files
committed
Handle user online and session active status
1 parent b2b601b commit b8bce84

File tree

11 files changed

+1264
-15
lines changed

11 files changed

+1264
-15
lines changed

.prettierrc

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@
22
"semi": false,
33
"singleQuote": false,
44
"trailingComma": "all",
5-
"printWidth": 120
5+
"printWidth": 120,
6+
"arrowParens": "always"
67
}

server/drizzle/0016_online.sql

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
ALTER TABLE "users" ADD COLUMN "online" boolean DEFAULT false NOT NULL;--> statement-breakpoint
2+
ALTER TABLE "users" ADD COLUMN "last_online" timestamp (3);--> statement-breakpoint
3+
ALTER TABLE "sessions" ADD COLUMN "active" boolean DEFAULT false NOT NULL;

0 commit comments

Comments
 (0)