-- Verify camper:policies_company on pg

begin;

set search_path to camper, public;
select 1 / count(*) from pg_class where oid = 'company'::regclass and relrowsecurity;
select 1 / count(*) from pg_policy where polname = 'guest_ok' and polrelid = 'company'::regclass;
select 1 / count(*) from pg_policy where polname = 'update_company' and polrelid = 'company'::regclass;

rollback;
