Mega push vol 7 mvp lesgoooo
This commit is contained in:
8
supabase/migrations/030_platform_admin.sql
Normal file
8
supabase/migrations/030_platform_admin.sql
Normal file
@@ -0,0 +1,8 @@
|
||||
-- Platform admin flag on profiles
|
||||
-- Only platform admins can access the /admin dashboard
|
||||
|
||||
ALTER TABLE profiles
|
||||
ADD COLUMN is_platform_admin BOOLEAN NOT NULL DEFAULT false;
|
||||
|
||||
-- Set the initial platform admin (update this UUID to match your user)
|
||||
-- This will be set via the admin API or manually in the DB
|
||||
Reference in New Issue
Block a user