migrate db to v2: drop experiments & enrollments w/feature issues or other missing required fields (#4078)

This commit is contained in:
Dan Mosedale 2021-05-20 10:52:10 -07:00 коммит произвёл GitHub
Родитель 3caafd701f
Коммит a91e108df4
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
2 изменённых файлов: 989 добавлений и 7 удалений

Просмотреть файл

@ -13,4 +13,14 @@
- Android and iOS `Branch` objects no longer have access to a `FeatureConfig` object.
### ⚠️ Breaking changes ⚠️
- The experiment database will be migrating from version 1 to version 2 on
first run. *Various kinds of incorrectly specified feature and featureId
related fields will be detected, and any related experiments & enrollments
will be discarded. Experiments & enrollments will also be discarded if they
are missing other required fields (eg schemaVersion). If there is an error
during the database upgrade, the database will be wiped, since losing
existing enrollments is still less bad than having the database in an unknown
inconsistent state.*
[Full Changelog](https://github.com/mozilla/application-services/compare/v76.0.1...main)

Разница между файлами не показана из-за своего большого размера Загрузить разницу