-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Critical - P2
-
None
-
Affects Version/s: None
-
Component/s: Doctrine
-
None
In doctrine/data-fixtures, when a collection is "purged", it is totally dropped and indexes are recreated.
Solution 1:
- Call SchemaManager::createCollection() before
ensureIndexes(), and probably also createSearchIndexes() - This will create new encryption keys
Solution 2:
- Remove all data using deleteMany([])
- May be slower