add enable disable remove user and isenabled in user column

This commit is contained in:
Oleksandr Bezdieniezhnykh
2025-09-22 19:37:17 +03:00
parent a4295c6c52
commit 3167df8bd7
4 changed files with 36 additions and 2 deletions
+2 -1
View File
@@ -1,3 +1,4 @@
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;
ADD COLUMN IF NOT EXISTS last_login timestamp null,
ADD COLUMN IF NOT EXISTS is_enabled bool not null default true;