19 lines
399 B
MySQL
19 lines
399 B
MySQL
|
-- Verify camper:product on pg
|
||
|
|
||
|
begin;
|
||
|
|
||
|
select product_id
|
||
|
, company_id
|
||
|
, slug
|
||
|
, name
|
||
|
, description
|
||
|
, price
|
||
|
, created_at
|
||
|
from camper.product
|
||
|
where false;
|
||
|
|
||
|
select 1 / count(*) from pg_class where oid = 'camper.product'::regclass and relrowsecurity;
|
||
|
select 1 / count(*) from pg_policy where polname = 'company_policy' and polrelid = 'camper.product'::regclass;
|
||
|
|
||
|
rollback;
|