19 lines
446 B
MySQL
19 lines
446 B
MySQL
|
-- Verify camper:invoice_product on pg
|
||
|
|
||
|
begin;
|
||
|
|
||
|
select invoice_product_id
|
||
|
, invoice_id
|
||
|
, name
|
||
|
, description
|
||
|
, price
|
||
|
, quantity
|
||
|
, discount_rate
|
||
|
from camper.invoice_product
|
||
|
where false;
|
||
|
|
||
|
select 1 / count(*) from pg_class where oid = 'camper.invoice_product'::regclass and relrowsecurity;
|
||
|
select 1 / count(*) from pg_policy where polname = 'company_policy' and polrelid = 'camper.invoice_product'::regclass;
|
||
|
|
||
|
rollback;
|