Schichtplaner Selfhosting Manual
Table of Contents

Table change_log

The change_log table contains the change log for the database.

It documents all changes to the schedule data.

Table Description

Column Data type Description
change_log_id int Primary key (Auto value)
Unique record ID
table_name varchar(200) Name of the table in which the change took place
record_id int Record ID of the captured, edited, or deleted record
collaborator_id int ID of the schedule user who initiated the change
operation CHAR(20) Type of operation performed. Possible values:
  • create: Record was created
  • update: Record has been edited
  • delete: Record was deleted
details varchar(8192) Information on the change in JSON format
created_at timestamp(6) Time of logging of the change

Notes:

  • To ensure that changes are saved in the table, the change log for the schedule must be enabled.

    This is configured in the schedule properties.

  • The change log only records changes made within the Schichtplaner application.

    Direct access to the database does not result in an entry in the change log.

Further Information