2023-01-28 13:18:58 +00:00
|
|
|
-- Verify numerus:tax on pg
|
|
|
|
|
|
|
|
begin;
|
|
|
|
|
|
|
|
select tax_id
|
|
|
|
, company_id
|
2023-02-28 11:02:27 +00:00
|
|
|
, tax_class_id
|
2023-01-28 13:18:58 +00:00
|
|
|
, name
|
|
|
|
, rate
|
|
|
|
from numerus.tax
|
|
|
|
where false;
|
|
|
|
|
|
|
|
select 1 / count(*) from pg_class where oid = 'numerus.tax'::regclass and relrowsecurity;
|
|
|
|
select 1 / count(*) from pg_policy where polname = 'company_policy' and polrelid = 'numerus.tax'::regclass;
|
|
|
|
|
|
|
|
rollback;
|