fixed generation of migration methods for 1.4