Remove getDb and replace with knex.raw passthrough