db migration steps in the right place