Skip to content

Commit 4d79888

Browse files
committed
updated exists and priv check tests
1 parent 550a0fc commit 4d79888

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

migrations/tests/database/exists.sql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ SELECT has_schema('graphql');
77
SELECT has_schema('graphql_public');
88
SELECT has_schema('realtime');
99
SELECT has_schema('storage');
10+
SELECT has_schema('supabase_subscription_mgmt');

migrations/tests/database/privs.sql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ reset role;
2020

2121
-- Verify extensions schema privileges
2222
SELECT schema_privs_are('extensions', 'postgres', array['CREATE', 'USAGE']);
23+
SELECT schema_privs_are('supabase_subscription_mgmt', 'postgres', array['USAGE']);
2324
SELECT schema_privs_are('extensions', 'anon', array['USAGE']);
2425
SELECT schema_privs_are('extensions', 'authenticated', array['USAGE']);
2526
SELECT schema_privs_are('extensions', 'service_role', array['USAGE']);

0 commit comments

Comments
 (0)