diff --git a/server/extension/cdb_dataservices_server--0.39.4--0.39.4.sql b/server/extension/cdb_dataservices_server--0.39.3--0.39.4.sql similarity index 100% rename from server/extension/cdb_dataservices_server--0.39.4--0.39.4.sql rename to server/extension/cdb_dataservices_server--0.39.3--0.39.4.sql diff --git a/server/extension/cdb_dataservices_server--0.39.4--0.39.3.sql b/server/extension/cdb_dataservices_server--0.39.4--0.39.3.sql new file mode 100644 index 0000000..0236f22 --- /dev/null +++ b/server/extension/cdb_dataservices_server--0.39.4--0.39.3.sql @@ -0,0 +1,5 @@ +--DO NOT MODIFY THIS FILE, IT IS GENERATED AUTOMATICALLY FROM SOURCES +-- Complain if script is sourced in psql, rather than via CREATE EXTENSION +\echo Use "ALTER EXTENSION cdb_dataservices_server UPDATE TO '0.39.3'" to load this file. \quit + +-- HERE goes your code to upgrade/downgrade \ No newline at end of file diff --git a/server/extension/cdb_dataservices_server--0.39.4.sql b/server/extension/cdb_dataservices_server--0.39.4.sql index f665c0c..6d2124c 100644 --- a/server/extension/cdb_dataservices_server--0.39.4.sql +++ b/server/extension/cdb_dataservices_server--0.39.4.sql @@ -399,8 +399,7 @@ BEGIN CREATE TYPE cdb_dataservices_server.service_type AS ENUM ( 'isolines', 'hires_geocoder', - 'routing', - 'observatory' + 'routing' ); END IF; END $$;