camper/verify/available_currencies.sql

22 lines
330 B
MySQL
Raw Normal View History

-- Verify numerus:available_currencies on pg
begin;
set search_path to camper;
select 1 / count(*)
from currency
where currency_code = 'EUR'
and currency_symbol = ''
and decimal_digits = 2
;
select 1 / count(*)
from currency
where currency_code = 'USD'
and currency_symbol = '$'
and decimal_digits = 2
;
rollback;