diff options
author | Jacob Vosmaer <contact@jacobvosmaer.nl> | 2014-10-01 10:41:20 +0200 |
---|---|---|
committer | Jacob Vosmaer <contact@jacobvosmaer.nl> | 2014-10-01 10:41:20 +0200 |
commit | b040078974c0226438109ae41418d978074976e0 (patch) | |
tree | 8182acee8ddf4f67751a88441e6403f6113e8cb8 /doc/update/7.2-to-7.3.md | |
parent | 3dde6bb3fa74238df0e1a2bbf4077852a9fd0bdb (diff) | |
download | gitlab-ce-b040078974c0226438109ae41418d978074976e0.tar.gz |
Clear changes to schema.rb when upgrading
Having local changes is quite common and it is a stumbling block when
upgrading GitLab. Because schema.rb is generated from the actual DB
schema it is OK to clear the local changes.
Diffstat (limited to 'doc/update/7.2-to-7.3.md')
-rw-r--r-- | doc/update/7.2-to-7.3.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/update/7.2-to-7.3.md b/doc/update/7.2-to-7.3.md index d85e3ea1006..329b763322a 100644 --- a/doc/update/7.2-to-7.3.md +++ b/doc/update/7.2-to-7.3.md @@ -23,6 +23,7 @@ sudo -u git -H git fetch --all For GitLab Community Edition: ```bash +sudo -u git -H git checkout -- db/schema.rb # local changes will be restored automatically sudo -u git -H git checkout 7-3-stable ``` @@ -31,6 +32,7 @@ OR For GitLab Enterprise Edition: ```bash +sudo -u git -H git checkout -- db/schema.rb # local changes will be restored automatically sudo -u git -H git checkout 7-3-stable-ee ``` |