Schichtplaner Selfhosting Manual
Table of Contents

Table data_fixed_shift

The data_fixed_shift table contains the shifts on a specific date that are assigned a predefined shift type and for which there is no working time deviation (shift modification).

Table Description

Column Data type Description
fixed_shift_id int Primary key (Auto value)
Unique record ID
employee_id int Foreign key to table data_employee
Identifies the associated employee
shift_type_id int Foreign key to table data_shift_type
Identifies the associated shift type
workplace_id int Foreign key to table data_workplace
Identifies the associated workplace. NULL if no workplace is assigned.
Default value: NULL
date date Validity date
plan_type tinyint Plan in which the shift is valid. Possible values:
  • 0: Actual plan
  • 1: Target plan
Default value: 0
deleted tinyint 1 for deleted entry, otherwise 0.
Default value: 0
transaction_id bigint unsigned For internal use only
created_at timestamp(6) Record creation time
Default value: current time
updated_at timestamp(6) Last record update time
Default value: current time

Note: Shifts that are assigned a predefined shift type and for which a working time deviation such as overtime is defined are stored in the data_custom_shift table.