Skip to content

Commit

Permalink
Configurre SQLite in memory instead of file
Browse files Browse the repository at this point in the history
  • Loading branch information
dexfs committed Apr 8, 2019
1 parent 9eb46d7 commit dda1c61
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/knexfile.js
Expand Up @@ -4,9 +4,11 @@ var path = require('path')
module.exports = {
development: {
client: 'sqlite3',
connection: {
filename: path.resolve(__dirname, 'dev.sqlite3')
connection: ':memory:',
pool: {
size: 1
},
useNullAsDefault: true,
migrations: {
directory: path.resolve(__dirname, 'migrations')
}
Expand Down

0 comments on commit dda1c61

Please sign in to comment.