Add dry-run db:mongoid:list_indexes and db:mongoid:list_undefined_indexes Rake tasks

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Won't Fix
    • Priority: Major - P3
    • 5.1.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Useful when you want to check state of indices without modifying them.

      Prints to console (via logger). Output format looks like:

      ModelNameA
        _id_
        my_index
      ModelNameB
        (none)
      ModelNameC
        _id_
        my_other_index
      

            Assignee:
            Unassigned
            Reporter:
            Johnny Shields
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: