Add test code for additions

This commit is contained in:
Jonny Stoten
2015-10-19 20:49:57 +01:00
parent a3633084f4
commit 0fe43e1a83

View File

@@ -12,6 +12,7 @@ var knex = Knex({
});
var knex = Knex({
debug: true,
client: 'mysql',
connection: {
socketPath : '/path/to/socket.sock',
@@ -32,7 +33,13 @@ var knex = Knex({
},
pool: {
min: 0,
max: 7
max: 7,
afterCreate: (connection, callback) => {
return callback(null, connection);
},
beforeDestroy: (connection, callback) => {
return callback(null, connection);
}
}
});