SONAR-5188 Fix bug when issues are on multiple projects
Revert "Improve db migration so that multiple SELECT can be concurrently executed"

This reverts commit 1cb697d9bf178093e6ceaaaf33bfa989f79f6469.