fixes #2516 - dbmigrate changes for SCL
(cherry picked from commit 7908aba2a8097bbff1bbf1ba441644ce8512b295)