making migrations work with mongo