-- Verify numerus:invoice_collection on pg

begin;

select invoice_id
     , collection_id
from numerus.invoice_collection
where false;

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

rollback;
