From: RĂ©gis Hanol Date: Fri, 11 Jul 2014 13:33:15 +0000 (+0200) Subject: add fuzzystrmatch extension X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=80863b2363bb973f712675be7bf250f8674b0948;p=discourse_docker.git add fuzzystrmatch extension --- diff --git a/templates/postgres.9.2.template.yml b/templates/postgres.9.2.template.yml index 3138a6e..7fa2682 100644 --- a/templates/postgres.9.2.template.yml +++ b/templates/postgres.9.2.template.yml @@ -107,6 +107,7 @@ run: - exec: /bin/bash -c 'sudo -u postgres psql discourse <<< "alter schema public owner to discourse;"' - exec: /bin/bash -c 'sudo -u postgres psql discourse <<< "create extension if not exists hstore;"' - exec: /bin/bash -c 'sudo -u postgres psql discourse <<< "create extension if not exists pg_trgm;"' + - exec: /bin/bash -c 'sudo -u postgres psql discourse <<< "create extension if not exists fuzzystrmatch;"' - exec: hook: postgres diff --git a/templates/postgres.template.yml b/templates/postgres.template.yml index abed0f4..0d53741 100644 --- a/templates/postgres.template.yml +++ b/templates/postgres.template.yml @@ -167,6 +167,7 @@ run: - exec: /bin/bash -c 'sudo -u postgres psql discourse <<< "alter schema public owner to discourse;"' - exec: /bin/bash -c 'sudo -u postgres psql discourse <<< "create extension if not exists hstore;"' - exec: /bin/bash -c 'sudo -u postgres psql discourse <<< "create extension if not exists pg_trgm;"' + - exec: /bin/bash -c 'sudo -u postgres psql discourse <<< "create extension if not exists fuzzystrmatch;"' - exec: hook: postgres