added reason for slot timediff

This commit is contained in:
Jörg Henke
2024-01-05 15:02:00 +01:00
parent 8f414e1964
commit 2e0f7ff3c3
4 changed files with 70 additions and 71 deletions

View File

@ -2,6 +2,7 @@ create table done.t_required_worktime (
pk_required_worktime int primary key generated always as identity,
required_minutes int not null default 480,
day date not null,
reason text,
fk_login int not null references profile.t_login(pk),
unique(day, fk_login)
);
@ -80,4 +81,4 @@ with x(dayworktime, day, fk_login, required, starttime, endtime) as (
grant select on done.v_day to timetrack;
create or replace view done.v_version as select 20240104 as version;
create or replace view done.v_version as select 20240105 as version;