17 lines
421 B
MySQL
17 lines
421 B
MySQL
|
-- Verify numerus:payment_account on pg
|
||
|
|
||
|
begin;
|
||
|
|
||
|
select payment_account_id
|
||
|
, company_id
|
||
|
, slug
|
||
|
, payment_account_type
|
||
|
, name
|
||
|
from numerus.payment_account
|
||
|
where false;
|
||
|
|
||
|
select 1 / count(*) from pg_class where oid = 'numerus.payment_account'::regclass and relrowsecurity;
|
||
|
select 1 / count(*) from pg_policy where polname = 'company_policy' and polrelid = 'numerus.payment_account'::regclass;
|
||
|
|
||
|
rollback;
|