SONAR-5249 Fix migration on SQL Server