Keep shaving the yak

This commit is contained in:
Raúl Marín 2019-12-19 18:06:36 +01:00
parent c6c006eb22
commit a626822d4e

View File

@ -1,16 +1 @@
SET client_min_messages TO error;
-- 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' CASCADE;