mirror of
https://github.com/azaion/admin.git
synced 2026-04-22 10:36:33 +00:00
Add LastLogin and CreatedAt to User
This commit is contained in:
Vendored
+3
-1
@@ -8,7 +8,9 @@ create table users
|
||||
hardware text null,
|
||||
hardware_hash varchar(120) null,
|
||||
role varchar(20) not null,
|
||||
user_config varchar(512) null
|
||||
user_config varchar(512) null,
|
||||
created_at timestamp not null default now(),
|
||||
last_login timestamp null
|
||||
);
|
||||
grant select, insert, update, delete on public.users to azaion_admin;
|
||||
grant select on table public.users to azaion_reader;
|
||||
|
||||
Vendored
+3
@@ -0,0 +1,3 @@
|
||||
ALTER TABLE public.users
|
||||
ADD COLUMN IF NOT EXISTS created_at timestamp not null default now(),
|
||||
ADD COLUMN IF NOT EXISTS last_login timestamp null;
|
||||
Reference in New Issue
Block a user