mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-24 20:11:14 -05:00
Refactor: Split user management migration
This commit is contained in:
@@ -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;
|
||||
Reference in New Issue
Block a user