Refactor: Split user management migration

This commit is contained in:
gpt-engineer-app[bot]
2025-09-28 18:23:32 +00:00
parent 36aec284f4
commit 3daa920076
2 changed files with 10 additions and 2 deletions

View File

@@ -0,0 +1,5 @@
-- First migration: Add superuser role and banned column
ALTER TYPE public.app_role ADD VALUE IF NOT EXISTS 'superuser';
-- Add banned column to profiles table
ALTER TABLE public.profiles ADD COLUMN IF NOT EXISTS banned boolean NOT NULL DEFAULT false;