added the ability to generate migration