Update README.md

This commit is contained in:
Matthias Kadenbach 2017-04-25 11:06:06 -07:00 committed by GitHub
parent 2ae8e6291c
commit 2e54bda0e1
1 changed files with 9 additions and 0 deletions

View File

@ -17,3 +17,12 @@
| `sslkey` | | Key file location. The file must contain PEM encoded data. |
| `sslrootcert` | | The location of the root certificate file. The file must contain PEM encoded data. |
| `sslmode` | | Whether or not to use SSL (disable\|require\|verify-ca\|verify-full) |
## Upgrading from v1
1. Write down the current migration version from schema_migrations
1. `DROP TABLE schema_migrations`
2. Wrap your existing migrations in transactions ([BEGIN/COMMIT](https://www.postgresql.org/docs/current/static/transaction-iso.html)) if you use multiple statements within one migration.
3. Download and install the latest migrate version.
4. Force the current migration version with `migrate force <current_version>`.