fix error in migration-generator template

migration crashes when rolling back because of a missing field