Cleanup old hg sessions (older than 2 days)

This commit is contained in:
Diva Canto
2013-07-14 15:47:54 -07:00
parent e33ac50388
commit b0140383da
5 changed files with 20 additions and 2 deletions

View File

@@ -9,6 +9,7 @@ CREATE TABLE `hg_traveling_data` (
`ServiceToken` VARCHAR(255) NOT NULL DEFAULT '',
`ClientIPAddress` VARCHAR(16) NOT NULL DEFAULT '',
`MyIPAddress` VARCHAR(16) NOT NULL DEFAULT '',
`TMStamp` timestamp NOT NULL,
PRIMARY KEY (`SessionID`),
KEY (`UserID`)
) ENGINE=InnoDB;