Merge branch 'add-voronoi' of github.com:CartoDB/crankshaft into add-voronoi

This commit is contained in:
abelvm
2016-08-09 13:01:22 -04:00
37 changed files with 2873 additions and 11 deletions

View File

@@ -1,6 +1,20 @@
-- Install dependencies
CREATE EXTENSION plpythonu;
CREATE EXTENSION postgis;
CREATE EXTENSION postgis VERSION '2.2.2';
-- Create role publicuser if it does not exist
DO
$$
BEGIN
IF NOT EXISTS (
SELECT *
FROM pg_catalog.pg_user
WHERE usename = 'publicuser') THEN
CREATE ROLE publicuser LOGIN;
END IF;
END
$$ LANGUAGE plpgsql;
-- Install the extension
CREATE EXTENSION crankshaft VERSION 'dev';