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

Allow index creation in migrations

    • Type: Icon: Improvement Improvement
    • Resolution: Works as Designed
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Dev Exp
    • None

      I know that there is a separate rake task for creating indexes, but the concept is similar to migration, as code in your models might change, you might add a new indexes, and you may have Capistrano, which could automatically run "migrations" on each deploy, which will be creating/updating indexes automatically on your server. What do you think guys?

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

              Created:
              Updated:
              Resolved: