https://gitlab.com/gitlab-org/gitlab-ee/blob/master/doc/update/7.13-ce-to-ee.md#4-install-libs-migrations-etc
The postgres and mysql instructions are mixed up.