diff --git a/client/sql/05_utils.sql b/client/sql/05_utils.sql index d766a3b..582a5d0 100644 --- a/client/sql/05_utils.sql +++ b/client/sql/05_utils.sql @@ -25,7 +25,7 @@ $f$ LANGUAGE sql IMMUTABLE; DO $$ BEGIN IF NOT EXISTS (SELECT 1 FROM pg_type WHERE typname = 'geomval') THEN - CREATE TYPE geomval AS ( + CREATE TYPE cdb_dataservices_client.geomval AS ( geom geometry, val double precision ); diff --git a/server/extension/sql/05_postgis3_adapter.sql b/server/extension/sql/05_postgis3_adapter.sql index 4facb46..addad2e 100644 --- a/server/extension/sql/05_postgis3_adapter.sql +++ b/server/extension/sql/05_postgis3_adapter.sql @@ -3,7 +3,7 @@ DO $$ BEGIN IF NOT EXISTS (SELECT 1 FROM pg_type WHERE typname = 'geomval') THEN - CREATE TYPE geomval AS ( + CREATE TYPE cdb_dataservices_server.geomval AS ( geom geometry, val double precision );