generate migration file