Fix oban tags
[akkoma] / priv / templates / sample_psql.eex
1 CREATE USER <%= dbuser %> WITH ENCRYPTED PASSWORD '<%= dbpass %>';
2 CREATE DATABASE <%= dbname %> OWNER <%= dbuser %>;
3 \c <%= dbname %>;
4 --Extensions made by ecto.migrate that need superuser access
5 CREATE EXTENSION IF NOT EXISTS citext;
6 CREATE EXTENSION IF NOT EXISTS pg_trgm;
7 CREATE EXTENSION IF NOT EXISTS "uuid-ossp";
8 <%= if rum_enabled do
9 "CREATE EXTENSION IF NOT EXISTS rum;"
10 else
11 ""
12 end %>