-- Verify numerus:expense_attachment on pg

begin;

select expense_id
     , original_filename
     , mime_type
     , content
from numerus.expense_attachment
where false;

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

rollback;
