camper/verify/campsite_type__-dogs_allowe...

12 lines
199 B
PL/PgSQL

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