@@ -35,14 +35,9 @@ group by
3535 ns.nspname, c.relname, r.rolname, c.relrowsecurity
3636order by
3737 c.relname;
38- schema_name | table_name | owner | rls_enabled | rls_policies
39- -------------+-------------------+---------------------+-------------+--------------
40- auth | audit_log_entries | supabase_auth_admin | f |
41- auth | instances | supabase_auth_admin | f |
42- auth | refresh_tokens | supabase_auth_admin | f |
43- auth | schema_migrations | supabase_auth_admin | f |
44- auth | users | supabase_auth_admin | f |
45- (5 rows)
38+ schema_name | table_name | owner | rls_enabled | rls_policies
39+ -------------+------------+-------+-------------+--------------
40+ (0 rows)
4641
4742-- auth schema objects with roles privileges
4843select
@@ -67,100 +62,9 @@ order by
6762 c.relname,
6863 r.rolname,
6964 a.privilege_type;
70- schema_name | table_name | role_name | privilege_type | is_grantable
71- -------------+-------------------+---------------------+----------------+--------------
72- auth | audit_log_entries | dashboard_user | DELETE | f
73- auth | audit_log_entries | dashboard_user | INSERT | f
74- auth | audit_log_entries | dashboard_user | REFERENCES | f
75- auth | audit_log_entries | dashboard_user | SELECT | f
76- auth | audit_log_entries | dashboard_user | TRIGGER | f
77- auth | audit_log_entries | dashboard_user | TRUNCATE | f
78- auth | audit_log_entries | dashboard_user | UPDATE | f
79- auth | audit_log_entries | postgres | DELETE | f
80- auth | audit_log_entries | postgres | INSERT | f
81- auth | audit_log_entries | postgres | REFERENCES | f
82- auth | audit_log_entries | postgres | SELECT | f
83- auth | audit_log_entries | postgres | TRIGGER | f
84- auth | audit_log_entries | postgres | TRUNCATE | f
85- auth | audit_log_entries | postgres | UPDATE | f
86- auth | audit_log_entries | supabase_auth_admin | DELETE | f
87- auth | audit_log_entries | supabase_auth_admin | INSERT | f
88- auth | audit_log_entries | supabase_auth_admin | REFERENCES | f
89- auth | audit_log_entries | supabase_auth_admin | SELECT | f
90- auth | audit_log_entries | supabase_auth_admin | TRIGGER | f
91- auth | audit_log_entries | supabase_auth_admin | TRUNCATE | f
92- auth | audit_log_entries | supabase_auth_admin | UPDATE | f
93- auth | instances | dashboard_user | DELETE | f
94- auth | instances | dashboard_user | INSERT | f
95- auth | instances | dashboard_user | REFERENCES | f
96- auth | instances | dashboard_user | SELECT | f
97- auth | instances | dashboard_user | TRIGGER | f
98- auth | instances | dashboard_user | TRUNCATE | f
99- auth | instances | dashboard_user | UPDATE | f
100- auth | instances | postgres | DELETE | f
101- auth | instances | postgres | INSERT | f
102- auth | instances | postgres | REFERENCES | f
103- auth | instances | postgres | SELECT | f
104- auth | instances | postgres | TRIGGER | f
105- auth | instances | postgres | TRUNCATE | f
106- auth | instances | postgres | UPDATE | f
107- auth | instances | supabase_auth_admin | DELETE | f
108- auth | instances | supabase_auth_admin | INSERT | f
109- auth | instances | supabase_auth_admin | REFERENCES | f
110- auth | instances | supabase_auth_admin | SELECT | f
111- auth | instances | supabase_auth_admin | TRIGGER | f
112- auth | instances | supabase_auth_admin | TRUNCATE | f
113- auth | instances | supabase_auth_admin | UPDATE | f
114- auth | refresh_tokens | dashboard_user | DELETE | f
115- auth | refresh_tokens | dashboard_user | INSERT | f
116- auth | refresh_tokens | dashboard_user | REFERENCES | f
117- auth | refresh_tokens | dashboard_user | SELECT | f
118- auth | refresh_tokens | dashboard_user | TRIGGER | f
119- auth | refresh_tokens | dashboard_user | TRUNCATE | f
120- auth | refresh_tokens | dashboard_user | UPDATE | f
121- auth | refresh_tokens | postgres | DELETE | f
122- auth | refresh_tokens | postgres | INSERT | f
123- auth | refresh_tokens | postgres | REFERENCES | f
124- auth | refresh_tokens | postgres | SELECT | f
125- auth | refresh_tokens | postgres | TRIGGER | f
126- auth | refresh_tokens | postgres | TRUNCATE | f
127- auth | refresh_tokens | postgres | UPDATE | f
128- auth | refresh_tokens | supabase_auth_admin | DELETE | f
129- auth | refresh_tokens | supabase_auth_admin | INSERT | f
130- auth | refresh_tokens | supabase_auth_admin | REFERENCES | f
131- auth | refresh_tokens | supabase_auth_admin | SELECT | f
132- auth | refresh_tokens | supabase_auth_admin | TRIGGER | f
133- auth | refresh_tokens | supabase_auth_admin | TRUNCATE | f
134- auth | refresh_tokens | supabase_auth_admin | UPDATE | f
135- auth | schema_migrations | supabase_auth_admin | DELETE | f
136- auth | schema_migrations | supabase_auth_admin | INSERT | f
137- auth | schema_migrations | supabase_auth_admin | REFERENCES | f
138- auth | schema_migrations | supabase_auth_admin | SELECT | f
139- auth | schema_migrations | supabase_auth_admin | TRIGGER | f
140- auth | schema_migrations | supabase_auth_admin | TRUNCATE | f
141- auth | schema_migrations | supabase_auth_admin | UPDATE | f
142- auth | users | dashboard_user | DELETE | f
143- auth | users | dashboard_user | INSERT | f
144- auth | users | dashboard_user | REFERENCES | f
145- auth | users | dashboard_user | SELECT | f
146- auth | users | dashboard_user | TRIGGER | f
147- auth | users | dashboard_user | TRUNCATE | f
148- auth | users | dashboard_user | UPDATE | f
149- auth | users | postgres | DELETE | f
150- auth | users | postgres | INSERT | f
151- auth | users | postgres | REFERENCES | f
152- auth | users | postgres | SELECT | f
153- auth | users | postgres | TRIGGER | f
154- auth | users | postgres | TRUNCATE | f
155- auth | users | postgres | UPDATE | f
156- auth | users | supabase_auth_admin | DELETE | f
157- auth | users | supabase_auth_admin | INSERT | f
158- auth | users | supabase_auth_admin | REFERENCES | f
159- auth | users | supabase_auth_admin | SELECT | f
160- auth | users | supabase_auth_admin | TRIGGER | f
161- auth | users | supabase_auth_admin | TRUNCATE | f
162- auth | users | supabase_auth_admin | UPDATE | f
163- (91 rows)
65+ schema_name | table_name | role_name | privilege_type | is_grantable
66+ -------------+------------+-----------+----------------+--------------
67+ (0 rows)
16468
16569-- auth indexes with owners
16670select
@@ -182,21 +86,9 @@ where
18286 ns.nspname = 'auth'
18387order by
18488 t.relname, i.relname;
185- table_schema | table_name | index_name | index_owner
186- --------------+-------------------+----------------------------------------+---------------------
187- auth | audit_log_entries | audit_log_entries_pkey | supabase_auth_admin
188- auth | audit_log_entries | audit_logs_instance_id_idx | supabase_auth_admin
189- auth | instances | instances_pkey | supabase_auth_admin
190- auth | refresh_tokens | refresh_tokens_instance_id_idx | supabase_auth_admin
191- auth | refresh_tokens | refresh_tokens_instance_id_user_id_idx | supabase_auth_admin
192- auth | refresh_tokens | refresh_tokens_pkey | supabase_auth_admin
193- auth | refresh_tokens | refresh_tokens_token_idx | supabase_auth_admin
194- auth | schema_migrations | schema_migrations_pkey | supabase_auth_admin
195- auth | users | users_email_key | supabase_auth_admin
196- auth | users | users_instance_id_email_idx | supabase_auth_admin
197- auth | users | users_instance_id_idx | supabase_auth_admin
198- auth | users | users_pkey | supabase_auth_admin
199- (12 rows)
89+ table_schema | table_name | index_name | index_owner
90+ --------------+------------+------------+-------------
91+ (0 rows)
20092
20193-- auth schema functions with owners
20294select
@@ -213,23 +105,7 @@ where
213105 n.nspname = 'auth'
214106order by
215107 p.proname;
216- schema_name | function_name | owner
217- -------------+---------------+---------------------
218- auth | email | supabase_auth_admin
219- auth | role | supabase_auth_admin
220- auth | uid | supabase_auth_admin
221- (3 rows)
222-
223- -- auth service schema migrations
224- select * from auth.schema_migrations;
225- version
226- ----------------
227- 20171026211738
228- 20171026211808
229- 20171026211834
230- 20180103212743
231- 20180108183307
232- 20180119214651
233- 20180125194653
234- (7 rows)
108+ schema_name | function_name | owner
109+ -------------+---------------+-------
110+ (0 rows)
235111
0 commit comments