Merge branch 'docs/fix-indent-problem-in-mysql_to_postgresql' into 'master'
Docs: Fix indent problem in mysql_to_postgresql.md See merge request gitlab-org/gitlab-ce!20736
This commit is contained in:
commit
623efcefea
1 changed files with 6 additions and 6 deletions
|
@ -194,12 +194,12 @@ sudo apt-get install pgloader
|
|||
|
||||
1. Switch database from MySQL to PostgreSQL
|
||||
|
||||
``` bash
|
||||
cd /home/git/gitlab
|
||||
sudo -u git mv config/database.yml config/database.yml.bak
|
||||
sudo -u git cp config/database.yml.postgresql config/database.yml
|
||||
sudo -u git -H chmod o-rwx config/database.yml
|
||||
```
|
||||
``` bash
|
||||
cd /home/git/gitlab
|
||||
sudo -u git mv config/database.yml config/database.yml.bak
|
||||
sudo -u git cp config/database.yml.postgresql config/database.yml
|
||||
sudo -u git -H chmod o-rwx config/database.yml
|
||||
```
|
||||
|
||||
1. Run the following commands to prepare the schema:
|
||||
|
||||
|
|
Loading…
Reference in a new issue