diff --git a/config/database.js b/config/database.js index 0105a15..2affdc0 100644 --- a/config/database.js +++ b/config/database.js @@ -29,7 +29,7 @@ module.exports = { sqlite: { client: 'sqlite3', connection: { - filename: Helpers.databasePath('development.sqlite') + filename: Helpers.databasePath(`${Env.get('DB_DATABASE', 'development')}.sqlite`) }, useNullAsDefault: true },