Schichtplaner Selfhosting Manual
Table of Contents

Table data_employee

The data_employee table contains the master data of the employees.

Table Description

Column Data type Description
employee_id int Primary key (Auto value)
Unique record ID
position int Position in the display order
Default value: 0
sex tinyint Gender. Possible values:
  • 0: not set
  • 1: male
  • 2: female
Default value: 0
birthday date Birthday
firstname varchar(100) First name
lastname varchar(100) Last name
Must not be empty
alias varchar(100) Alias ​​name
personnel_number varchar(100) Personnel number
street varchar(100) Street
zip varchar(30) Postal code
town varchar(100) Location
phone_0 varchar(100) Telephone number 0
phone_1 varchar(100) Telephone number 1
salutation varchar(30) Salutation
function varchar(100) Function
email varchar(100) E-mail address
custom_field_name_0 varchar(30) Custom field name 0
custom_field_value_0 varchar(100) Value of the custom field 0
custom_field_name_1 varchar(30) Custom field name 1
custom_field_value_1 varchar(100) Value of the custom field 1
custom_field_name_2 varchar(30) Custom field name 2
custom_field_value_2 varchar(100) Value of the custom field 2
custom_field_name_3 varchar(30) Custom field name 3
custom_field_value_3 varchar(100) Value of the custom field 3
custom_field_name_4 varchar(30) Custom field name 4
custom_field_value_4 varchar(100) Value of the custom field 4
custom_field_name_5 varchar(30) Custom field name 5
custom_field_value_5 varchar(100) Value of the custom field 5
custom_field_name_6 varchar(30) Custom field name 6
custom_field_value_6 varchar(100) Value of the custom field 6
custom_field_name_7 varchar(30) Custom field name 7
custom_field_value_7 varchar(100) Value of the custom field 7
note varchar(1000) Note
color_name_fg char(6) Text color for names
Default value: 000000
color_name_bk char(6) Background color for names
Default value: FFFFFF
color_schedule_fg char(6) Text color in the associated schedule fields
Default value: 000000
color_schedule_bk char(6) Background color in the associated schedule fields
Default value: FFFFFF
bold_text tinyint 1 for bold text, otherwise 0
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