mirror of
https://github.com/elastic/kibana.git
synced 2025-06-27 10:40:07 -04:00
[Saved Objects] Update the migrationVersion
property to hold a plain string value (#150075)
* Update document migrator to rely on `typeMigrationVersion` instead of `migrationVersion`. * Refactor document migrator to extract migration pipeline logic. * Add `core` migration type.
This commit is contained in:
parent
1a0cab832d
commit
17876df41a
69 changed files with 1205 additions and 828 deletions
|
@ -252,7 +252,7 @@ Having said that, if a document is encountered that is not in the expected shape
|
|||
fail an upgrade than to silently ignore a corrupt document which can cause unexpected behaviour at some future point in time. When such a scenario is encountered,
|
||||
the error should be verbose and informative so that the corrupt document can be corrected, if possible.
|
||||
|
||||
**WARNING:** Do not attempt to change the `migrationVersion`, `id`, or `type` fields within a migration function, this is not supported.
|
||||
**WARNING:** Do not attempt to change the `typeMigrationVersion`, `id`, or `type` fields within a migration function, this is not supported.
|
||||
|
||||
### Testing Migrations
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue