final changes for the knex 0.6 migration