SONAR-5810 Fix migration on MySQL