mirror of
https://github.com/knex/knex.git
synced 2025-09-05 22:36:54 +00:00
Test using a file and multiple connections
This commit is contained in:
parent
7332b86688
commit
f702920a3b
@ -76,10 +76,12 @@ module.exports = {
|
|||||||
|
|
||||||
sqlite3: {
|
sqlite3: {
|
||||||
client: 'sqlite3',
|
client: 'sqlite3',
|
||||||
connection: testConfig.sqlite3 || {
|
connection: {
|
||||||
filename: ':memory:'
|
filename: __dirname + '/test.sqlite3'
|
||||||
},
|
},
|
||||||
pool: pool,
|
pool: _.extend({}, pool, {
|
||||||
|
max: 2
|
||||||
|
}),
|
||||||
migrations: migrations
|
migrations: migrations
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user