From: Sam Date: Mon, 12 Dec 2016 06:45:04 +0000 (+1100) Subject: need to migrate test as well X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=364df2987e0aff6687d8fa1d4aa1dfb3b78cd0bb;p=discourse_docker.git need to migrate test as well --- 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