The DateFiltering module that the admin API adds to ApplicationDocument
could cause some indexes on created_at or updated_at to be ignored
unexpectedly since DateFiltering had already added indexes for those
fields. Moving the creation of those indexes to after initialization
ensures the model can define its own indexes first.
The DateFiltering module that the admin API adds to ApplicationDocument could cause some indexes on created_at or updated_at to be ignored unexpectedly since DateFiltering had already added indexes for those fields. Moving the creation of those indexes to after initialization ensures the model can define its own indexes first.
API-17