feat: remove uneeded user
This commit is contained in:
parent
be19d55371
commit
3f96c6a1f3
|
|
@ -13,14 +13,6 @@ END;
|
||||||
$$;
|
$$;
|
||||||
SELECT create_roles(ARRAY ['anon', 'authenticated']);
|
SELECT create_roles(ARRAY ['anon', 'authenticated']);
|
||||||
|
|
||||||
-- Create supabase_admin user if it does not exist
|
|
||||||
DO $$ BEGIN IF NOT EXISTS (
|
|
||||||
SELECT
|
|
||||||
FROM pg_catalog.pg_roles
|
|
||||||
WHERE rolname = 'supabase_admin'
|
|
||||||
) THEN CREATE USER supabase_admin LOGIN CREATEROLE CREATEDB REPLICATION BYPASSRLS;
|
|
||||||
END IF;
|
|
||||||
END $$;
|
|
||||||
-- Create supabase_auth_admin user if it does not exist
|
-- Create supabase_auth_admin user if it does not exist
|
||||||
DO $$ BEGIN IF NOT EXISTS (
|
DO $$ BEGIN IF NOT EXISTS (
|
||||||
SELECT
|
SELECT
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue