22 lines
475 B
MySQL
22 lines
475 B
MySQL
|
-- Verify numerus:invoice on pg
|
||
|
|
||
|
begin;
|
||
|
|
||
|
select invoice_id
|
||
|
, company_id
|
||
|
, slug
|
||
|
, invoice_number
|
||
|
, invoice_date
|
||
|
, contact_id
|
||
|
, invoice_status
|
||
|
, notes
|
||
|
, currency_code
|
||
|
, created_at
|
||
|
from numerus.invoice
|
||
|
where false;
|
||
|
|
||
|
select 1 / count(*) from pg_class where oid = 'numerus.invoice'::regclass and relrowsecurity;
|
||
|
select 1 / count(*) from pg_policy where polname = 'company_policy' and polrelid = 'numerus.invoice'::regclass;
|
||
|
|
||
|
rollback;
|