camper/verify/campsite_type_option_cost__...

12 lines
227 B
MySQL
Raw Normal View History

-- Verify camper:campsite_type_option_cost__-cost_per_night on pg
begin;
select 1 / (1 - count(*))
from pg_attribute
where attrelid = 'camper.campsite_type_option_cost'::regclass
and attname = 'cost_per_night'
;
rollback;