Mercurial > gemma
view schema/updates/1106/01.schemaqualify_tables.sql @ 5317:dcb22351e058
Added configuration files for JS tooling
For further information you may read
https://vuejs.github.io/vetur/guide/setup.html#extensions
author | Thomas Junk <thomas.junk@intevation.de> |
---|---|
date | Fri, 18 Jun 2021 11:58:43 +0200 |
parents | d3fb2f37380b |
children |
line wrap: on
line source
CREATE OR REPLACE FUNCTION get_schema_version() RETURNS int LANGUAGE sql AS $$ SELECT max(version) FROM public.gemma_schema_version; $$; CREATE OR REPLACE FUNCTION is_country(code char) RETURNS boolean AS $$ SELECT EXISTS(SELECT 1 FROM public.countries WHERE country_code = code) $$ LANGUAGE sql STABLE PARALLEL SAFE;