summaryrefslogtreecommitdiff
path: root/doc/update/7.2-to-7.3.md
diff options
context:
space:
mode:
authorJacob Vosmaer <contact@jacobvosmaer.nl>2014-10-01 10:41:20 +0200
committerJacob Vosmaer <contact@jacobvosmaer.nl>2014-10-01 10:41:20 +0200
commitb040078974c0226438109ae41418d978074976e0 (patch)
tree8182acee8ddf4f67751a88441e6403f6113e8cb8 /doc/update/7.2-to-7.3.md
parent3dde6bb3fa74238df0e1a2bbf4077852a9fd0bdb (diff)
downloadgitlab-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.md2
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
```