Add an install test

This commit is contained in:
Rafa de la Torre
2015-11-03 16:11:17 +01:00
parent ddd66aff08
commit 5a7e1ca262
8 changed files with 31 additions and 53 deletions

View File

@@ -0,0 +1,16 @@
-- Install dependencies
CREATE EXTENSION postgis;
CREATE EXTENSION schema_triggers;
CREATE EXTENSION plpythonu;
CREATE EXTENSION cartodb;
-- 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;