Skip to content

Set up & Require

Branden Horiuchi edited this page Sep 18, 2015 · 2 revisions

❁ Overview


If the name didn't give it away, knex-schemer requires a Knex.js instance to function. Once knex has been required, pass it as an argument when requiring knex-schemer and you are good to go.

❁ Example

var schemer = require('knex-schemer')(knex);