2025-03-16 20:42:21 +01:00
|
|
|
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;
|
|
|
|
|
|
2025-07-11 18:48:37 +02:00
|
|
|
CREATE TABLE IF NOT EXISTS `AbsenceTimeHistory` (
|
2025-03-16 20:42:21 +01:00
|
|
|
`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;
|