Add Users Last Seen At (#4192)

This commit is contained in:
Ammar Bandukwala
2022-09-26 10:31:03 -05:00
committed by GitHub
parent b8ec5c786d
commit ee4b934601
20 changed files with 154 additions and 17 deletions

View File

@ -317,7 +317,8 @@ CREATE TABLE users (
rbac_roles text[] DEFAULT '{}'::text[] NOT NULL,
login_type login_type DEFAULT 'password'::public.login_type NOT NULL,
avatar_url text,
deleted boolean DEFAULT false NOT NULL
deleted boolean DEFAULT false NOT NULL,
last_seen_at timestamp without time zone DEFAULT '0001-01-01 00:00:00'::timestamp without time zone NOT NULL
);
CREATE TABLE workspace_agents (