data-services/geocoder/extension/sql/00_install_test.sql

20 lines
440 B
MySQL
Raw Normal View History

2015-11-03 23:11:17 +08:00
-- Install dependencies
CREATE EXTENSION postgis;
CREATE EXTENSION schema_triggers;
CREATE EXTENSION plpythonu;
CREATE EXTENSION cartodb;
2015-12-03 00:31:29 +08:00
-- Mock the quota check
SELECT cartodb.CDB_SetUserQuotaInBytes(0);
2015-11-03 23:11:17 +08:00
-- Install the extension
CREATE EXTENSION cdb_geocoder;
-- Mock the varnish invalidation function
CREATE OR REPLACE FUNCTION public.cdb_invalidate_varnish(table_name text) RETURNS void AS $$
BEGIN
RETURN;
END
$$
LANGUAGE plpgsql;