Knex and cleanup