Fork of Pleroma with site-specific changes and feature branches https://git.pleroma.social/pleroma/pleroma
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
397B

  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 %>