Update dependencies for socket.io and uuid in both client and server configurations. Enhance UI components by adding drag elasticity in PopupContainer and integrating warning indicators in ControlButton and FloatingActionButton. Refactor UserCamera and UserDevicesControls to improve audio/video toggle handling and user feedback. Adjust user session schema to ensure userId is nullable for unauthenticated users.
This commit is contained in:
@@ -21,7 +21,7 @@ export const serverSessions = pgTable("server_sessions", {
|
||||
appId: uuid("app_id")
|
||||
.notNull()
|
||||
.references(() => apps.id),
|
||||
userId: uuid("user_id").references(() => users.id), // Nullable - для неавторизованных пользователей на demo-серверах
|
||||
userId: uuid("user_id"), // Nullable - для неавторизованных пользователей на demo-серверах
|
||||
startAt: timestamp("start_at", { withTimezone: true }).defaultNow().notNull(),
|
||||
endAt: timestamp("end_at", { withTimezone: true }), // Default 30 minutes from start_at
|
||||
appPid: integer("app_pid"),
|
||||
|
||||
Reference in New Issue
Block a user