Obtenha esquema de mesa com Knex
knex('tableName').columnInfo().then(info=>/* do something with info obj */)
Emmanuel Mahuni
knex('tableName').columnInfo().then(info=>/* do something with info obj */)