/ knexfile.js
knexfile.js
1 module.exports = { 2 client: 'sqlite3', 3 useNullAsDefault: true, 4 connection: { 5 filename: '/tmp/diff.db' 6 }, 7 pool: { 8 afterCreate: (conn, cb) => { 9 conn.run('PRAGMA foreign_keys = ON', cb) 10 }, 11 }, 12 migrations: { 13 tableName: 'migrations' 14 }, 15 }