-- Verify numerus:payment_account_bank on pg

begin;

select payment_account_id
     , payment_account_type
     , iban
from numerus.payment_account_bank
where false;

select 1 / count(*) from pg_class where oid = 'numerus.payment_account_bank'::regclass and relrowsecurity;
select 1 / count(*) from pg_policy where polname = 'company_policy' and polrelid = 'numerus.payment_account_bank'::regclass;

rollback;
