Files
BeWoPlaner/Model/Changes_2025_03_07 AbsenceTimeHistory.txt
Christian 1234388bfb - Neue Einstellungen beim Mandator
- History für Abwesenheiten
- History überarbeitet
- Berichte für Einträge ohne Unterschriften
2025-03-16 20:42:21 +01:00

32 lines
1.1 KiB
Plaintext

ALTER TABLE `Contract`
ADD COLUMN `UpdTs` datetime NULL DEFAULT NULL;
ALTER TABLE `ContractHistory`
ADD COLUMN `ContractOid` bigint NULL DEFAULT NULL;
ALTER TABLE `AbsenceTime`
ADD COLUMN `UpdTs` datetime NULL DEFAULT NULL;
CREATE TABLE `AbsenceTimeHistory` (
`Oid` bigint NOT NULL AUTO_INCREMENT,
`Tid` int NOT NULL,
`Notice` varchar(1024) DEFAULT NULL,
`InsTs` datetime DEFAULT NULL,
`InsUser` varchar(256) DEFAULT NULL,
`Version` bigint DEFAULT NULL,
`UdpUser` varchar(256) DEFAULT NULL,
`UpdTs` datetime DEFAULT NULL,
`IsActive` tinyint DEFAULT NULL,
`SystemEntryID` int DEFAULT NULL,
`ChangeType` tinyint NULL DEFAULT NULL,
`AbsenceTimeOid` bigint NULL DEFAULT NULL,
`AbsenceReasonOid` bigint DEFAULT NULL,
`AbsenceTimeStart` datetime DEFAULT NULL,
`AbsenceTimeEnd` datetime DEFAULT NULL,
`AbsenceTimeKrankheitsMeldung` datetime DEFAULT NULL,
`AbsenceTimeNotice` varchar(1024) DEFAULT NULL,
`AbsenceTimeEmployeeOid` bigint DEFAULT NULL,
`AbsenceTimeCustomerOid` bigint DEFAULT NULL,
PRIMARY KEY (`Oid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;