Alexandre Bodin 3745c7f0d0 Update project generator
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-04-29 11:06:36 +02:00

16 lines
326 B
Plaintext

module.exports = ({ env }) => ({
defaultConnection: 'default',
connections: {
default: {
connector: 'bookshelf',
settings: {
client: 'sqlite',
filename: env('DATABASE_FILENAME', '<%= settings.filename %>'),
},
options: {
useNullAsDefault: true,
},
},
},
});