Improve the migrations infrastructure.