dataservices-api/server/extension/sql/00_install_test.sql

22 lines
504 B
MySQL
Raw Normal View History

2015-11-07 00:22:39 +08:00
-- Install dependencies
CREATE EXTENSION postgis;
CREATE EXTENSION schema_triggers;
CREATE EXTENSION plpythonu;
2015-11-10 18:13:21 +08:00
CREATE EXTENSION cartodb;
CREATE EXTENSION cdb_geocoder;
2015-11-07 00:22:39 +08:00
-- Install the extension
CREATE EXTENSION cdb_geocoder_server;
-- Mock the varnish invalidation function
-- (used by cdb_geocoder tests)
CREATE OR REPLACE FUNCTION public.cdb_invalidate_varnish(table_name text) RETURNS void AS $$
BEGIN
RETURN;
END
$$
LANGUAGE plpgsql;
-- Set user quota
SELECT cartodb.CDB_SetUserQuotaInBytes(0);