16 lines
446 B
MySQL
16 lines
446 B
MySQL
|
-- Verify numerus:payment_account_card on pg
|
||
|
|
||
|
begin;
|
||
|
|
||
|
select payment_account_id
|
||
|
, payment_account_type
|
||
|
, last_four_digits
|
||
|
, expiration_date
|
||
|
from numerus.payment_account_card
|
||
|
where false;
|
||
|
|
||
|
select 1 / count(*) from pg_class where oid = 'numerus.payment_account_card'::regclass and relrowsecurity;
|
||
|
select 1 / count(*) from pg_policy where polname = 'company_policy' and polrelid = 'numerus.payment_account_card'::regclass;
|
||
|
|
||
|
rollback;
|