Use in memory database by default

This commit is contained in:
Zalmoxisus 2017-01-02 18:01:09 +02:00
parent b27fa504ed
commit 5732c3713b
2 changed files with 3 additions and 2 deletions

View File

@ -1,6 +1,7 @@
{
"connection": { "filename": "./remotedev-db.sqlite3" },
"client": "sqlite3",
"connection": { "filename": ":memory:" },
"pool": { "refreshIdle": false, "min": 1, "max": 1 },
"debug": false,
"migrate": true
}

View File

@ -23,5 +23,5 @@ module.exports = function connector(options) {
console.error(error);
});
return knexModule(dbOptions);
return knex;
};