mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
feat(db): add identity columns (lastActivity, toolPermissions, TOTP)
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
ALTER TABLE "roles" ADD COLUMN "tool_permissions" jsonb;--> statement-breakpoint
|
||||
ALTER TABLE "sessions" ADD COLUMN "last_activity" timestamp with time zone;--> statement-breakpoint
|
||||
ALTER TABLE "users" ADD COLUMN "totp_secret" text;--> statement-breakpoint
|
||||
ALTER TABLE "users" ADD COLUMN "totp_enabled" boolean DEFAULT false NOT NULL;--> statement-breakpoint
|
||||
ALTER TABLE "users" ADD COLUMN "recovery_codes_hash" text;
|
||||
Reference in New Issue
Block a user