fix(config): use DB_DATABASE env var of static sqlite filename
* SQLite should reference the filename from the .env file instead of development.sqlite * Update database.js
This commit is contained in:
parent
eb9afd9377
commit
4a5bda0737
|
@ -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
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue
Block a user