2019-06-20 16:38:15 +02:00
|
|
|
'use strict';
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Default db infos
|
|
|
|
*/
|
|
|
|
module.exports = {
|
|
|
|
sqlite: {
|
2019-09-20 12:44:24 +02:00
|
|
|
connector: 'bookshelf',
|
2019-06-20 16:38:15 +02:00
|
|
|
settings: {
|
|
|
|
client: 'sqlite',
|
|
|
|
filename: '.tmp/data.db',
|
|
|
|
},
|
|
|
|
options: {
|
|
|
|
useNullAsDefault: true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
postgres: {
|
2019-09-20 12:44:24 +02:00
|
|
|
connector: 'bookshelf',
|
2019-06-20 16:38:15 +02:00
|
|
|
settings: {
|
|
|
|
client: 'postgres',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
mysql: {
|
2019-09-20 12:44:24 +02:00
|
|
|
connector: 'bookshelf',
|
2019-06-20 16:38:15 +02:00
|
|
|
settings: {
|
|
|
|
client: 'mysql',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
mongo: {
|
2019-09-20 12:44:24 +02:00
|
|
|
connector: 'mongoose',
|
2019-06-20 16:38:15 +02:00
|
|
|
},
|
|
|
|
};
|