We can not change structure and migrate data at the same time on some db engines. So this commit splits the operation.