revoke delete on table "auth"."audit_log_entries" from "dashboard_user"; revoke insert on table "auth"."audit_log_entries" from "dashboard_user"; revoke references on table "auth"."audit_log_entries" from "dashboard_user"; revoke select on table "auth"."audit_log_entries" from "dashboard_user"; revoke trigger on table "auth"."audit_log_entries" from "dashboard_user"; revoke truncate on table "auth"."audit_log_entries" from "dashboard_user"; revoke update on table "auth"."audit_log_entries" from "dashboard_user"; revoke delete on table "auth"."audit_log_entries" from "postgres"; revoke insert on table "auth"."audit_log_entries" from "postgres"; revoke references on table "auth"."audit_log_entries" from "postgres"; revoke select on table "auth"."audit_log_entries" from "postgres"; revoke trigger on table "auth"."audit_log_entries" from "postgres"; revoke truncate on table "auth"."audit_log_entries" from "postgres"; revoke update on table "auth"."audit_log_entries" from "postgres"; revoke delete on table "auth"."flow_state" from "dashboard_user"; revoke insert on table "auth"."flow_state" from "dashboard_user"; revoke references on table "auth"."flow_state" from "dashboard_user"; revoke select on table "auth"."flow_state" from "dashboard_user"; revoke trigger on table "auth"."flow_state" from "dashboard_user"; revoke truncate on table "auth"."flow_state" from "dashboard_user"; revoke update on table "auth"."flow_state" from "dashboard_user"; revoke delete on table "auth"."flow_state" from "postgres"; revoke insert on table "auth"."flow_state" from "postgres"; revoke references on table "auth"."flow_state" from "postgres"; revoke select on table "auth"."flow_state" from "postgres"; revoke trigger on table "auth"."flow_state" from "postgres"; revoke truncate on table "auth"."flow_state" from "postgres"; revoke update on table "auth"."flow_state" from "postgres"; revoke delete on table "auth"."identities" from "dashboard_user"; revoke insert on table "auth"."identities" from "dashboard_user"; revoke references on table "auth"."identities" from "dashboard_user"; revoke select on table "auth"."identities" from "dashboard_user"; revoke trigger on table "auth"."identities" from "dashboard_user"; revoke truncate on table "auth"."identities" from "dashboard_user"; revoke update on table "auth"."identities" from "dashboard_user"; revoke delete on table "auth"."identities" from "postgres"; revoke insert on table "auth"."identities" from "postgres"; revoke references on table "auth"."identities" from "postgres"; revoke select on table "auth"."identities" from "postgres"; revoke trigger on table "auth"."identities" from "postgres"; revoke truncate on table "auth"."identities" from "postgres"; revoke update on table "auth"."identities" from "postgres"; revoke delete on table "auth"."instances" from "dashboard_user"; revoke insert on table "auth"."instances" from "dashboard_user"; revoke references on table "auth"."instances" from "dashboard_user"; revoke select on table "auth"."instances" from "dashboard_user"; revoke trigger on table "auth"."instances" from "dashboard_user"; revoke truncate on table "auth"."instances" from "dashboard_user"; revoke update on table "auth"."instances" from "dashboard_user"; revoke delete on table "auth"."instances" from "postgres"; revoke insert on table "auth"."instances" from "postgres"; revoke references on table "auth"."instances" from "postgres"; revoke select on table "auth"."instances" from "postgres"; revoke trigger on table "auth"."instances" from "postgres"; revoke truncate on table "auth"."instances" from "postgres"; revoke update on table "auth"."instances" from "postgres"; revoke delete on table "auth"."mfa_amr_claims" from "dashboard_user"; revoke insert on table "auth"."mfa_amr_claims" from "dashboard_user"; revoke references on table "auth"."mfa_amr_claims" from "dashboard_user"; revoke select on table "auth"."mfa_amr_claims" from "dashboard_user"; revoke trigger on table "auth"."mfa_amr_claims" from "dashboard_user"; revoke truncate on table "auth"."mfa_amr_claims" from "dashboard_user"; revoke update on table "auth"."mfa_amr_claims" from "dashboard_user"; revoke delete on table "auth"."mfa_amr_claims" from "postgres"; revoke insert on table "auth"."mfa_amr_claims" from "postgres"; revoke references on table "auth"."mfa_amr_claims" from "postgres"; revoke select on table "auth"."mfa_amr_claims" from "postgres"; revoke trigger on table "auth"."mfa_amr_claims" from "postgres"; revoke truncate on table "auth"."mfa_amr_claims" from "postgres"; revoke update on table "auth"."mfa_amr_claims" from "postgres"; revoke delete on table "auth"."mfa_challenges" from "dashboard_user"; revoke insert on table "auth"."mfa_challenges" from "dashboard_user"; revoke references on table "auth"."mfa_challenges" from "dashboard_user"; revoke select on table "auth"."mfa_challenges" from "dashboard_user"; revoke trigger on table "auth"."mfa_challenges" from "dashboard_user"; revoke truncate on table "auth"."mfa_challenges" from "dashboard_user"; revoke update on table "auth"."mfa_challenges" from "dashboard_user"; revoke delete on table "auth"."mfa_challenges" from "postgres"; revoke insert on table "auth"."mfa_challenges" from "postgres"; revoke references on table "auth"."mfa_challenges" from "postgres"; revoke select on table "auth"."mfa_challenges" from "postgres"; revoke trigger on table "auth"."mfa_challenges" from "postgres"; revoke truncate on table "auth"."mfa_challenges" from "postgres"; revoke update on table "auth"."mfa_challenges" from "postgres"; revoke delete on table "auth"."mfa_factors" from "dashboard_user"; revoke insert on table "auth"."mfa_factors" from "dashboard_user"; revoke references on table "auth"."mfa_factors" from "dashboard_user"; revoke select on table "auth"."mfa_factors" from "dashboard_user"; revoke trigger on table "auth"."mfa_factors" from "dashboard_user"; revoke truncate on table "auth"."mfa_factors" from "dashboard_user"; revoke update on table "auth"."mfa_factors" from "dashboard_user"; revoke delete on table "auth"."mfa_factors" from "postgres"; revoke insert on table "auth"."mfa_factors" from "postgres"; revoke references on table "auth"."mfa_factors" from "postgres"; revoke select on table "auth"."mfa_factors" from "postgres"; revoke trigger on table "auth"."mfa_factors" from "postgres"; revoke truncate on table "auth"."mfa_factors" from "postgres"; revoke update on table "auth"."mfa_factors" from "postgres"; revoke delete on table "auth"."oauth_clients" from "dashboard_user"; revoke insert on table "auth"."oauth_clients" from "dashboard_user"; revoke references on table "auth"."oauth_clients" from "dashboard_user"; revoke select on table "auth"."oauth_clients" from "dashboard_user"; revoke trigger on table "auth"."oauth_clients" from "dashboard_user"; revoke truncate on table "auth"."oauth_clients" from "dashboard_user"; revoke update on table "auth"."oauth_clients" from "dashboard_user"; revoke delete on table "auth"."oauth_clients" from "postgres"; revoke insert on table "auth"."oauth_clients" from "postgres"; revoke references on table "auth"."oauth_clients" from "postgres"; revoke select on table "auth"."oauth_clients" from "postgres"; revoke trigger on table "auth"."oauth_clients" from "postgres"; revoke truncate on table "auth"."oauth_clients" from "postgres"; revoke update on table "auth"."oauth_clients" from "postgres"; revoke delete on table "auth"."one_time_tokens" from "dashboard_user"; revoke insert on table "auth"."one_time_tokens" from "dashboard_user"; revoke references on table "auth"."one_time_tokens" from "dashboard_user"; revoke select on table "auth"."one_time_tokens" from "dashboard_user"; revoke trigger on table "auth"."one_time_tokens" from "dashboard_user"; revoke truncate on table "auth"."one_time_tokens" from "dashboard_user"; revoke update on table "auth"."one_time_tokens" from "dashboard_user"; revoke delete on table "auth"."one_time_tokens" from "postgres"; revoke insert on table "auth"."one_time_tokens" from "postgres"; revoke references on table "auth"."one_time_tokens" from "postgres"; revoke select on table "auth"."one_time_tokens" from "postgres"; revoke trigger on table "auth"."one_time_tokens" from "postgres"; revoke truncate on table "auth"."one_time_tokens" from "postgres"; revoke update on table "auth"."one_time_tokens" from "postgres"; revoke delete on table "auth"."refresh_tokens" from "dashboard_user"; revoke insert on table "auth"."refresh_tokens" from "dashboard_user"; revoke references on table "auth"."refresh_tokens" from "dashboard_user"; revoke select on table "auth"."refresh_tokens" from "dashboard_user"; revoke trigger on table "auth"."refresh_tokens" from "dashboard_user"; revoke truncate on table "auth"."refresh_tokens" from "dashboard_user"; revoke update on table "auth"."refresh_tokens" from "dashboard_user"; revoke delete on table "auth"."refresh_tokens" from "postgres"; revoke insert on table "auth"."refresh_tokens" from "postgres"; revoke references on table "auth"."refresh_tokens" from "postgres"; revoke select on table "auth"."refresh_tokens" from "postgres"; revoke trigger on table "auth"."refresh_tokens" from "postgres"; revoke truncate on table "auth"."refresh_tokens" from "postgres"; revoke update on table "auth"."refresh_tokens" from "postgres"; revoke delete on table "auth"."saml_providers" from "dashboard_user"; revoke insert on table "auth"."saml_providers" from "dashboard_user"; revoke references on table "auth"."saml_providers" from "dashboard_user"; revoke select on table "auth"."saml_providers" from "dashboard_user"; revoke trigger on table "auth"."saml_providers" from "dashboard_user"; revoke truncate on table "auth"."saml_providers" from "dashboard_user"; revoke update on table "auth"."saml_providers" from "dashboard_user"; revoke delete on table "auth"."saml_providers" from "postgres"; revoke insert on table "auth"."saml_providers" from "postgres"; revoke references on table "auth"."saml_providers" from "postgres"; revoke select on table "auth"."saml_providers" from "postgres"; revoke trigger on table "auth"."saml_providers" from "postgres"; revoke truncate on table "auth"."saml_providers" from "postgres"; revoke update on table "auth"."saml_providers" from "postgres"; revoke delete on table "auth"."saml_relay_states" from "dashboard_user"; revoke insert on table "auth"."saml_relay_states" from "dashboard_user"; revoke references on table "auth"."saml_relay_states" from "dashboard_user"; revoke select on table "auth"."saml_relay_states" from "dashboard_user"; revoke trigger on table "auth"."saml_relay_states" from "dashboard_user"; revoke truncate on table "auth"."saml_relay_states" from "dashboard_user"; revoke update on table "auth"."saml_relay_states" from "dashboard_user"; revoke delete on table "auth"."saml_relay_states" from "postgres"; revoke insert on table "auth"."saml_relay_states" from "postgres"; revoke references on table "auth"."saml_relay_states" from "postgres"; revoke select on table "auth"."saml_relay_states" from "postgres"; revoke trigger on table "auth"."saml_relay_states" from "postgres"; revoke truncate on table "auth"."saml_relay_states" from "postgres"; revoke update on table "auth"."saml_relay_states" from "postgres"; revoke delete on table "auth"."schema_migrations" from "dashboard_user"; revoke insert on table "auth"."schema_migrations" from "dashboard_user"; revoke references on table "auth"."schema_migrations" from "dashboard_user"; revoke select on table "auth"."schema_migrations" from "dashboard_user"; revoke trigger on table "auth"."schema_migrations" from "dashboard_user"; revoke truncate on table "auth"."schema_migrations" from "dashboard_user"; revoke update on table "auth"."schema_migrations" from "dashboard_user"; revoke delete on table "auth"."schema_migrations" from "postgres"; revoke insert on table "auth"."schema_migrations" from "postgres"; revoke references on table "auth"."schema_migrations" from "postgres"; revoke select on table "auth"."schema_migrations" from "postgres"; revoke trigger on table "auth"."schema_migrations" from "postgres"; revoke truncate on table "auth"."schema_migrations" from "postgres"; revoke update on table "auth"."schema_migrations" from "postgres"; revoke delete on table "auth"."sessions" from "dashboard_user"; revoke insert on table "auth"."sessions" from "dashboard_user"; revoke references on table "auth"."sessions" from "dashboard_user"; revoke select on table "auth"."sessions" from "dashboard_user"; revoke trigger on table "auth"."sessions" from "dashboard_user"; revoke truncate on table "auth"."sessions" from "dashboard_user"; revoke update on table "auth"."sessions" from "dashboard_user"; revoke delete on table "auth"."sessions" from "postgres"; revoke insert on table "auth"."sessions" from "postgres"; revoke references on table "auth"."sessions" from "postgres"; revoke select on table "auth"."sessions" from "postgres"; revoke trigger on table "auth"."sessions" from "postgres"; revoke truncate on table "auth"."sessions" from "postgres"; revoke update on table "auth"."sessions" from "postgres"; revoke delete on table "auth"."sso_domains" from "dashboard_user"; revoke insert on table "auth"."sso_domains" from "dashboard_user"; revoke references on table "auth"."sso_domains" from "dashboard_user"; revoke select on table "auth"."sso_domains" from "dashboard_user"; revoke trigger on table "auth"."sso_domains" from "dashboard_user"; revoke truncate on table "auth"."sso_domains" from "dashboard_user"; revoke update on table "auth"."sso_domains" from "dashboard_user"; revoke delete on table "auth"."sso_domains" from "postgres"; revoke insert on table "auth"."sso_domains" from "postgres"; revoke references on table "auth"."sso_domains" from "postgres"; revoke select on table "auth"."sso_domains" from "postgres"; revoke trigger on table "auth"."sso_domains" from "postgres"; revoke truncate on table "auth"."sso_domains" from "postgres"; revoke update on table "auth"."sso_domains" from "postgres"; revoke delete on table "auth"."sso_providers" from "dashboard_user"; revoke insert on table "auth"."sso_providers" from "dashboard_user"; revoke references on table "auth"."sso_providers" from "dashboard_user"; revoke select on table "auth"."sso_providers" from "dashboard_user"; revoke trigger on table "auth"."sso_providers" from "dashboard_user"; revoke truncate on table "auth"."sso_providers" from "dashboard_user"; revoke update on table "auth"."sso_providers" from "dashboard_user"; revoke delete on table "auth"."sso_providers" from "postgres"; revoke insert on table "auth"."sso_providers" from "postgres"; revoke references on table "auth"."sso_providers" from "postgres"; revoke select on table "auth"."sso_providers" from "postgres"; revoke trigger on table "auth"."sso_providers" from "postgres"; revoke truncate on table "auth"."sso_providers" from "postgres"; revoke update on table "auth"."sso_providers" from "postgres"; revoke delete on table "auth"."users" from "dashboard_user"; revoke insert on table "auth"."users" from "dashboard_user"; revoke references on table "auth"."users" from "dashboard_user"; revoke select on table "auth"."users" from "dashboard_user"; revoke trigger on table "auth"."users" from "dashboard_user"; revoke truncate on table "auth"."users" from "dashboard_user"; revoke update on table "auth"."users" from "dashboard_user"; revoke delete on table "auth"."users" from "postgres"; revoke insert on table "auth"."users" from "postgres"; revoke references on table "auth"."users" from "postgres"; revoke select on table "auth"."users" from "postgres"; revoke trigger on table "auth"."users" from "postgres"; revoke truncate on table "auth"."users" from "postgres"; revoke update on table "auth"."users" from "postgres"; set check_function_bodies = off; CREATE OR REPLACE FUNCTION auth.email() RETURNS text LANGUAGE sql STABLE AS $function$ select coalesce( nullif(current_setting('request.jwt.claim.email', true), ''), (nullif(current_setting('request.jwt.claims', true), '')::jsonb ->> 'email') )::text $function$ ; CREATE OR REPLACE FUNCTION auth.jwt() RETURNS jsonb LANGUAGE sql STABLE AS $function$ select coalesce( nullif(current_setting('request.jwt.claim', true), ''), nullif(current_setting('request.jwt.claims', true), '') )::jsonb $function$ ; CREATE OR REPLACE FUNCTION auth.role() RETURNS text LANGUAGE sql STABLE AS $function$ select coalesce( nullif(current_setting('request.jwt.claim.role', true), ''), (nullif(current_setting('request.jwt.claims', true), '')::jsonb ->> 'role') )::text $function$ ; CREATE OR REPLACE FUNCTION auth.uid() RETURNS uuid LANGUAGE sql STABLE AS $function$ select coalesce( nullif(current_setting('request.jwt.claim.sub', true), ''), (nullif(current_setting('request.jwt.claims', true), '')::jsonb ->> 'sub') )::uuid $function$ ; CREATE TRIGGER on_auth_user_created AFTER INSERT ON auth.users FOR EACH ROW EXECUTE FUNCTION public.handle_new_user();