You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
397 B
13 lines
397 B
CREATE USER <%= dbuser %> WITH ENCRYPTED PASSWORD '<%= dbpass %>';
|
|
CREATE DATABASE <%= dbname %> OWNER <%= dbuser %>;
|
|
\c <%= dbname %>;
|
|
--Extensions made by ecto.migrate that need superuser access
|
|
CREATE EXTENSION IF NOT EXISTS citext;
|
|
CREATE EXTENSION IF NOT EXISTS pg_trgm;
|
|
CREATE EXTENSION IF NOT EXISTS "uuid-ossp";
|
|
<%= if rum_enabled do
|
|
"CREATE EXTENSION IF NOT EXISTS rum;"
|
|
else
|
|
""
|
|
end %>
|