reverted to old style migrations for the perfomance reason, new version in branch