I am using Lift Framework with Record as ORM and Mongo as database. Then I change used indexes, I go to remote mongo console, and ensure indexes by hand.
I want to automate it so that Lift will ensure indexes at every start of server.
Anwser was found here: