Skip to content

Migrating to 0.8.26

jfresco edited this page Dec 10, 2014 · 2 revisions

laws unique key constraint

A constraint in the laws collection should be removed in order to completely fix #472. Run this command in a mongoDB console:

db.laws.dropIndex({ "state": 1, "lawId": 1 })

If the command succeeds, you'll see the following message:

{ "nIndexesWas" : 12, "ok" : 1 }

(the important thing there is that "ok" must be 1; the nIndexesWas value may vary).