Add ban reason to profiles

This commit is contained in:
gpt-engineer-app[bot]
2025-10-30 02:51:16 +00:00
parent e0d1a66fb2
commit e5de404e59
8 changed files with 146 additions and 10 deletions

View File

@@ -0,0 +1,6 @@
-- Add ban_reason column to profiles table
ALTER TABLE public.profiles
ADD COLUMN IF NOT EXISTS ban_reason text;
COMMENT ON COLUMN public.profiles.ban_reason IS
'Explanation for why user account was suspended. Only visible to moderators and the banned user during login attempts.';