From 80863b2363bb973f712675be7bf250f8674b0948 Mon Sep 17 00:00:00 2001 From: =?utf8?q?R=C3=A9gis=20Hanol?= Date: Fri, 11 Jul 2014 15:33:15 +0200 Subject: [PATCH] add fuzzystrmatch extension --- templates/postgres.9.2.template.yml | 1 + templates/postgres.template.yml | 1 + 2 files changed, 2 insertions(+) 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 -- 2.25.1