Commit 1d316335 authored by alain's avatar alain 🐙
Browse files

db settings

parent 7dbb10c6
...@@ -65,6 +65,7 @@ $RECYCLE.BIN/ ...@@ -65,6 +65,7 @@ $RECYCLE.BIN/
# Logs and databases # Logs and databases
############################ ############################
db
.tmp .tmp
*.log *.log
*.sql *.sql
......
...@@ -5,7 +5,7 @@ module.exports = ({ env }) => ({ ...@@ -5,7 +5,7 @@ module.exports = ({ env }) => ({
connector: 'bookshelf', connector: 'bookshelf',
settings: { settings: {
client: 'sqlite', client: 'sqlite',
filename: env('DATABASE_FILENAME', '.tmp/data.db'), filename: env('DATABASE_FILENAME', 'db/data.db'),
}, },
options: { options: {
useNullAsDefault: true, useNullAsDefault: true,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment