diff --git a/client/cdb_dataservices_client--0.20.0--0.21.0.sql b/client/cdb_dataservices_client--0.20.0--0.21.0.sql new file mode 100644 index 0000000..970c329 --- /dev/null +++ b/client/cdb_dataservices_client--0.20.0--0.21.0.sql @@ -0,0 +1,8 @@ +--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_client UPDATE TO '0.21.0'" to load this file. \quit + +-- Make sure we have a sane search path to create/update the extension +SET search_path = "$user",cartodb,public,cdb_dataservices_client; + +-- HERE goes your code to upgrade/downgrade diff --git a/client/cdb_dataservices_client--0.21.0--0.20.0.sql b/client/cdb_dataservices_client--0.21.0--0.20.0.sql new file mode 100644 index 0000000..832c80c --- /dev/null +++ b/client/cdb_dataservices_client--0.21.0--0.20.0.sql @@ -0,0 +1,8 @@ +--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_client UPDATE TO '0.20.0'" to load this file. \quit + +-- Make sure we have a sane search path to create/update the extension +SET search_path = "$user",cartodb,public,cdb_dataservices_client; + +-- HERE goes your code to upgrade/downgrade diff --git a/client/cdb_dataservices_client.control b/client/cdb_dataservices_client.control index 0dd238c..ee170e2 100644 --- a/client/cdb_dataservices_client.control +++ b/client/cdb_dataservices_client.control @@ -1,5 +1,5 @@ comment = 'CartoDB dataservices client API extension' -default_version = '0.20.0' +default_version = '0.21.0' requires = 'plproxy, cartodb' superuser = true schema = cdb_dataservices_client diff --git a/client/cdb_dataservices_client--0.19.0--0.20.0.sql b/client/old_versions/cdb_dataservices_client--0.19.0--0.20.0.sql similarity index 100% rename from client/cdb_dataservices_client--0.19.0--0.20.0.sql rename to client/old_versions/cdb_dataservices_client--0.19.0--0.20.0.sql diff --git a/client/cdb_dataservices_client--0.20.0--0.19.0.sql b/client/old_versions/cdb_dataservices_client--0.20.0--0.19.0.sql similarity index 100% rename from client/cdb_dataservices_client--0.20.0--0.19.0.sql rename to client/old_versions/cdb_dataservices_client--0.20.0--0.19.0.sql diff --git a/client/cdb_dataservices_client--0.20.0.sql b/client/old_versions/cdb_dataservices_client--0.20.0.sql similarity index 100% rename from client/cdb_dataservices_client--0.20.0.sql rename to client/old_versions/cdb_dataservices_client--0.20.0.sql