Update topics/MigrationFromOlderVersions.adoc

This commit is contained in:
Stian Thorgersen 2016-08-31 15:05:25 +02:00
parent a022a407e2
commit 0c3b31403f

2
topics/MigrationFromOlderVersions.adoc Executable file → Normal file
View file

@ -43,7 +43,7 @@ to an SQL file that you can review and manually run against the database.
There's also the option to disable migration by setting the `migrationStrategy` to `validate`. With this configuration There's also the option to disable migration by setting the `migrationStrategy` to `validate`. With this configuration
the database will be checked at startup and if it is not migrated the server will exit. the database will be checked at startup and if it is not migrated the server will exit.
==== ==== Mongo
Mongo doesn't have a schema, but there may still be things like collections and indexes that are added to new releases. Mongo doesn't have a schema, but there may still be things like collections and indexes that are added to new releases.
To enable automatic creation of these set the `migrationStrategy` property to `update` for the default `connectionsMongo` To enable automatic creation of these set the `migrationStrategy` property to `update` for the default `connectionsMongo`