Schichtplaner Selfhosting Manual
Table of Contents

Table data_booking

The data_booking table contains the correction entries on the actual and target hours accounts.

Table Description

Column Data type Description
booking_id int Primary key (Auto value)
Unique record ID
employee_id int Foreign key to table data_employee
Identifies the associated employee
date date Validity date
value double Booking value in hours
Default value: 0.0
account tinyint Associated account. Possible values:
  • 0: Actual hours account
  • 1: Target hours account
  • 2: Not used in the Schichtplaner application
Default value: 0
description varchar(100) Optional description
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