add knex migration to npm scripts and add knex to dependencies