Schichtplaner Selfhosting Manual
Table of Contents

Table data_leave_ban

The data_leave_ban table contains the leave bans.

Table Description

Column Data type Description
leave_ban_id int Primary key (Auto value)
Unique record ID
group_id int Foreign key to table data_group
Identifies the associated group
filter tinyint Banned absences. Possible values:
  • 0: ban all absences
  • 1: the ban only applies to absences whose associated leave type is linked to an entitlement
Default value: 1
description varchar(100) Optional description
start date start date of the ban
end date end date of the ban
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