Fixed the migration creator

Same issue as https://github.com/atech/nifty-key-value-store/pull/1