adding sql helpers to be executed before any other custom sql during db migration, which were previously left out of the commit