Support naming indexes in order to facilitate automatic updates when indexes gain/lose fields. Without defining a name mongo automatically generates a unique name, and your database ends up with multiple indexes where only one is desired.
Depends on mongoose/mongo having the ability to properly update the definition of existing indexes.
Copied from original issue: SciSpike/yaktor-dsl-xtext#8
From @jkamke on September 14, 2016 19:47
Support naming indexes in order to facilitate automatic updates when indexes gain/lose fields. Without defining a name mongo automatically generates a unique name, and your database ends up with multiple indexes where only one is desired.
Depends on mongoose/mongo having the ability to properly update the definition of existing indexes.
Copied from original issue: SciSpike/yaktor-dsl-xtext#8