Skip to content

Instantly share code, notes, and snippets.

@nomoney4me
Created November 23, 2018 20:13
Show Gist options
  • Select an option

  • Save nomoney4me/3e7b9c0f0a2079ea1d8416ab17b8c890 to your computer and use it in GitHub Desktop.

Select an option

Save nomoney4me/3e7b9c0f0a2079ea1d8416ab17b8c890 to your computer and use it in GitHub Desktop.
const knex = require('knex')({
client: 'sqlite3',
connection: {
filename: 'test.db'
},
debug: true
})
knex.schema.createTable('testing', (tbl) => {
tbl.increments()
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment