numerus/verify/available_payment_status.sql

16 lines
766 B
MySQL
Raw Permalink Normal View History

-- Verify numerus:available_payment_status on pg
BEGIN;
set search_path to numerus;
select 1 / count(*) from payment_status where payment_status = 'partial' and name ='Partial';
select 1 / count(*) from payment_status where payment_status = 'complete' and name ='Complete';
select 1 / count(*) from payment_status_i18n where payment_status = 'partial' and name ='Parcial' and lang_tag = 'ca';
select 1 / count(*) from payment_status_i18n where payment_status = 'partial' and name ='Parcial' and lang_tag = 'es';
select 1 / count(*) from payment_status_i18n where payment_status = 'complete' and name ='Complet' and lang_tag= 'ca';
select 1 / count(*) from payment_status_i18n where payment_status = 'complete' and name ='Completo' and lang_tag= 'es';
ROLLBACK;