working on pg/knex