SONAR-5007 fix db migrations 538 and 539