Mercurial > gemma
view schema/updates/1001/01.simplify-get_schema_version.sql @ 5677:a57be8bfb6ea sr-v2
More suited file names.
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Sun, 11 Feb 2024 09:51:21 +0100 |
parents | a2921151b193 |
children |
line wrap: on
line source
CREATE OR REPLACE FUNCTION get_schema_version() RETURNS int LANGUAGE sql AS $$ SELECT max(version) FROM gemma_schema_version; $$;