Migration scripts for client

This commit is contained in:
manmorjim
2020-03-17 11:20:47 +01:00
parent b7c9ff8dac
commit 24df64681d
2 changed files with 17 additions and 0 deletions
@@ -6,3 +6,9 @@
SET search_path = "$user",cartodb,public,cdb_dataservices_client;
-- HERE goes your code to upgrade/downgrade
-- PG12_DEPRECATED
-- Create geomval if it doesn't exist (in postgis 3+ it only exists in postgis_raster)
DO $$
BEGIN
DROP TYPE IF EXISTS cdb_dataservices_client.geomval RESTRICT;
END$$;