Fixed migration for 1.12.0 upgrade