summaryrefslogtreecommitdiff
path: root/doc/update/patch_versions.md
diff options
context:
space:
mode:
authorArif Ali <mail@arif-ali.co.uk>2014-03-04 00:40:30 +0000
committerArif Ali <mail@arif-ali.co.uk>2014-03-04 00:40:30 +0000
commit28f40b72053fdc684c975ea32c11820b47b75e52 (patch)
tree162ead919b51a9449d719346061d5d0f91692931 /doc/update/patch_versions.md
parentaffc37ad024670520e6d552dc21414c68ef5c923 (diff)
downloadgitlab-ce-28f40b72053fdc684c975ea32c11820b47b75e52.tar.gz
prioritise postgres in doc/update/patch_versions.md, assume postgres in doc/update/ruby.md
Diffstat (limited to 'doc/update/patch_versions.md')
-rw-r--r--doc/update/patch_versions.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/update/patch_versions.md b/doc/update/patch_versions.md
index b284ff48365..21b93c0b929 100644
--- a/doc/update/patch_versions.md
+++ b/doc/update/patch_versions.md
@@ -38,12 +38,12 @@ Replace LATEST_TAG with the latest GitLab Shell tag you want to upgrade to, for
```bash
cd /home/git/gitlab
-# MySQL
-sudo -u git -H bundle install --without development test postgres --deployment
-
#PostgreSQL
sudo -u git -H bundle install --without development test mysql --deployment
+# MySQL
+sudo -u git -H bundle install --without development test postgres --deployment
+
sudo -u git -H bundle exec rake db:migrate RAILS_ENV=production
sudo -u git -H bundle exec rake assets:clean RAILS_ENV=production
sudo -u git -H bundle exec rake assets:precompile RAILS_ENV=production