Fixed migration for 1.12.0 upgrade
Merge pull request #556 from Reyko/master

Fixed migration for 1.12.0 upgrade