-- Verify camper:grant_select_on_payment_status_to_guest on pg

begin;

select 1 / count(*) from information_schema.table_privileges
where table_schema = 'camper'
  and table_name = 'payment_status'
  and grantee = 'guest'
  and privilege_type = 'SELECT'
;

select 1 / count(*) from information_schema.table_privileges
where table_schema = 'camper'
  and table_name = 'payment_status_i18n'
  and grantee = 'guest'
  and privilege_type = 'SELECT'
;

rollback;
