mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-27 05:57:24 +01:00
SQL update: track playtime per player per day for stats
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
# Updating SQL from ver 9 to 10 - Kyet
|
||||
|
||||
# Add the 'playtime_history' table that tracks playtime per player per day
|
||||
CREATE TABLE `playtime_history` (
|
||||
`ckey` varchar(32) NOT NULL,
|
||||
`date` DATE NOT NULL,
|
||||
`time_living` SMALLINT NOT NULL,
|
||||
`time_ghost` SMALLINT NOT NULL,
|
||||
PRIMARY KEY (`ckey`, `date`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
||||
|
||||
Reference in New Issue
Block a user