From 364df2987e0aff6687d8fa1d4aa1dfb3b78cd0bb Mon Sep 17 00:00:00 2001 From: Sam Date: Mon, 12 Dec 2016 17:45:04 +1100 Subject: [PATCH] need to migrate test as well --- image/discourse_dev/postgres_dev.template.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/image/discourse_dev/postgres_dev.template.yml b/image/discourse_dev/postgres_dev.template.yml index 91d47a5..58831e8 100644 --- a/image/discourse_dev/postgres_dev.template.yml +++ b/image/discourse_dev/postgres_dev.template.yml @@ -26,4 +26,5 @@ run: - exec: cd tmp && git clone https://github.com/discourse/discourse.git --depth=1 && cd /tmp/discourse && sudo -u discourse bundle install - exec: chown -R discourse /tmp/discourse - exec: cd /tmp/discourse && sudo -u discourse bundle exec rake db:migrate + - exec: cd /tmp/discourse && sudo -u discourse RAILS_ENV=test bundle exec rake db:migrate - exec: rm -fr /tmp/discourse -- 2.25.1