Fix SQL server migrations.