mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-19 19:11:13 +00:00
refactor: consolidate database configs (#4522)
* consolidate db configs * allow using custom file-name for the sqlite db * remove the unused `logging` config. it's overwritten in Db.ts
This commit is contained in:
committed by
GitHub
parent
40e413d958
commit
eb3fffd203
@@ -136,6 +136,12 @@ export const schema = {
|
||||
},
|
||||
},
|
||||
sqlite: {
|
||||
database: {
|
||||
doc: 'SQLite Database file name',
|
||||
format: String,
|
||||
default: 'database.sqlite',
|
||||
env: 'DB_SQLITE_DATABASE',
|
||||
},
|
||||
executeVacuumOnStartup: {
|
||||
doc: 'Runs VACUUM operation on startup to rebuild the database. Reduces filesize and optimizes indexes. WARNING: This is a long running blocking operation. Will increase start-up time.',
|
||||
format: Boolean,
|
||||
|
||||
Reference in New Issue
Block a user