Fix server script

This commit is contained in:
Jesús Arroyo Torrens
2021-03-30 17:58:17 +02:00
parent 05f7b237eb
commit ca24563a80
4 changed files with 15 additions and 32 deletions
@@ -1446,13 +1446,7 @@ RETURNS boolean AS $$
return True
$$ LANGUAGE @@plpythonu@@ SECURITY DEFINER STABLE PARALLEL RESTRICTED;
DROP TYPE IF EXISTS cdb_dataservices_client.service_type;
CREATE TYPE cdb_dataservices_server.service_type AS ENUM (
'isolines',
'hires_geocoder',
'routing',
'observatory'
);
ALTER TYPE cdb_dataservices_server.service_type ADD VALUE 'observatory' AFTER 'routing';
CREATE OR REPLACE FUNCTION cdb_dataservices_server.cdb_service_quota_info(
username TEXT,