Logs playtime history for ALL departments (#22446)

This commit is contained in:
AffectedArc07
2023-09-30 12:41:16 +01:00
committed by GitHub
parent c14de908f9
commit 26258bd21b
5 changed files with 59 additions and 11 deletions
+10
View File
@@ -474,7 +474,17 @@ CREATE TABLE `playtime_history` (
`ckey` varchar(32) NOT NULL,
`date` DATE NOT NULL,
`time_living` SMALLINT NOT NULL,
`time_crew` SMALLINT NOT NULL,
`time_special` SMALLINT NOT NULL,
`time_ghost` SMALLINT NOT NULL,
`time_command` SMALLINT NOT NULL,
`time_engineering` SMALLINT NOT NULL,
`time_medical` SMALLINT NOT NULL,
`time_science` SMALLINT NOT NULL,
`time_supply` SMALLINT NOT NULL,
`time_security` SMALLINT NOT NULL,
`time_silicon` SMALLINT NOT NULL,
`time_service` SMALLINT NOT NULL,
PRIMARY KEY (`ckey`, `date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;