mirror of https://github.com/status-im/migrate.git
Update README.md
This commit is contained in:
parent
2ae8e6291c
commit
2e54bda0e1
|
@ -17,3 +17,12 @@
|
||||||
| `sslkey` | | Key file location. The file must contain PEM encoded data. |
|
| `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. |
|
| `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) |
|
| `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>`.
|
||||||
|
|
Loading…
Reference in New Issue