mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-20 17:15:51 +02:00
Allow to to disable the saving of changed or deleted data.
Also it is possible to only save the information which fields were changed, not the data in it.
This commit is contained in:
parent
2bc6a2be3c
commit
b5bc096972
4 changed files with 76 additions and 5 deletions
14
.env
14
.env
|
@ -59,3 +59,17 @@ EMAIL_SENDER_EMAIL=noreply@partdb.changeme
|
|||
# Set this to 1 to allow reset of a password per email
|
||||
ALLOW_EMAIL_PW_RESET=0
|
||||
|
||||
|
||||
######################################################################################
|
||||
# History/Eventlog related settings
|
||||
######################################################################################
|
||||
|
||||
# If you want to use full timetrave functionality
|
||||
|
||||
# Save which fields were changed in a ElementEdited log entry
|
||||
HISTORY_SAVE_CHANGED_FIELDS=1
|
||||
# Save the old data in the ElementEdited log entry (warning this could increase the database size in short time)
|
||||
HISTORY_SAVE_CHANGED_DATA=0
|
||||
# Save the data of an element that gets removed into log entry. This allows to undelete an element
|
||||
HISTORY_SAVE_REMOVED_DATA=0
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue