Zdobądź schemat stołu z KNEX

knex('tableName').columnInfo().then(info=>/* do something with info obj */)
Emmanuel Mahuni