Files
buzz-sheet/drizzle/0023_silly_earthquake.sql
gunshiz a865913a08
CI / Verify (push) Successful in 57s
CI / Build immutable images and deploy (push) Successful in 2m7s
feat(auth) : add admin account management
2026-09-04 10:54:08 +07:00

6 lines
428 B
SQL

ALTER TABLE "auth"."session" ADD COLUMN "impersonated_by" text;--> statement-breakpoint
ALTER TABLE "auth"."user" ADD COLUMN "role" text DEFAULT 'admin';--> statement-breakpoint
ALTER TABLE "auth"."user" ADD COLUMN "banned" boolean DEFAULT false;--> statement-breakpoint
ALTER TABLE "auth"."user" ADD COLUMN "ban_reason" text;--> statement-breakpoint
ALTER TABLE "auth"."user" ADD COLUMN "ban_expires" timestamp with time zone;