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

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Dev Exp
    • None
    • None
    • None
    • None
    • None
    • None
    • 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
              Reporter:
              Oleg Pudeyev (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: