14 lines
344 B
MySQL
14 lines
344 B
MySQL
|
-- Verify camper:contact_email on pg
|
||
|
|
||
|
begin;
|
||
|
|
||
|
select contact_id
|
||
|
, email
|
||
|
from camper.contact_email
|
||
|
where false;
|
||
|
|
||
|
select 1 / count(*) from pg_class where oid = 'camper.contact_email'::regclass and relrowsecurity;
|
||
|
select 1 / count(*) from pg_policy where polname = 'company_policy' and polrelid = 'camper.contact_email'::regclass;
|
||
|
|
||
|
rollback;
|