sample_psql.eex 320 Bytes
Newer Older
1
2
3
CREATE USER <%= dbuser %> WITH ENCRYPTED PASSWORD '<%= dbpass %>';
CREATE DATABASE <%= dbname %> OWNER <%= dbuser %>;
\c <%= dbname %>;
HJ's avatar
HJ committed
4
--Extensions made by ecto.migrate that need superuser access
5
CREATE EXTENSION IF NOT EXISTS citext;
lain's avatar
lain committed
6
CREATE EXTENSION IF NOT EXISTS pg_trgm;
7
CREATE EXTENSION IF NOT EXISTS "uuid-ossp";