fixes #2516 - dbmigrate changes for SCL