Solve problem when runing migrations from zero