Uploaded image for project: 'Mongoid'
  1. Mongoid
  2. MONGOID-4607

Rake task to show declared/defined indexes and differences between the two

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Dev Exp
    • Labels:
      None

      We have a rake task to create indexes that are declared in models. It would potentially make sense to also have a rake task that would show which indexes are declared in models, which indexes exist in the database and whether there are any differences/conflicts between the two.

      A partial implementation has been submitted by johnnyshields in https://github.com/mongodb/mongoid/pull/4386.

            Assignee:
            Unassigned Unassigned
            Reporter:
            oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: