diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/database.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/database.js b/config/database.js index 6e08035..b7f57ad 100644 --- a/config/database.js +++ b/config/database.js | |||
@@ -31,7 +31,7 @@ module.exports = { | |||
31 | sqlite: { | 31 | sqlite: { |
32 | client: 'sqlite3', | 32 | client: 'sqlite3', |
33 | connection: { | 33 | connection: { |
34 | filename: `${Env.get('DATA_DIR', 'database')}/${Env.get('DB_DATABASE', 'development')}.sqlite`, | 34 | filename: Helpers.appRoot(`${Env.get('DATA_DIR', 'database')}/${Env.get('DB_DATABASE', 'development')}.sqlite`), |
35 | }, | 35 | }, |
36 | useNullAsDefault: true, | 36 | useNullAsDefault: true, |
37 | debug: Env.get('DB_DEBUG', false), | 37 | debug: Env.get('DB_DEBUG', false), |