Skip to content

Run CouchDB Mango index initialization after migrations

Daniel Gerhardt requested to merge fix-migrations-with-empty-db into master

When indexes are created before migrations are run, this causes issues when the application runs the first time because and empty database is expected. The new MangoIndexInitializer interface has been introduced for repositories with index initialization logic so that CouchDbInitializer can call it at the right time.

Closes: #222 (closed)
Regression-MR: !707 (merged)
Related: !709 (merged)

Edited by Daniel Gerhardt

Merge request reports