mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 10:46:00 +08:00
HG UAS: Moved hg-session data from memory to DB storage. This makes it so that traveling info survives Robust resets. It should also eliminate the cause of empty IP addresses in agent circuit data that we saw in CC grid. MySQL only.
This commit is contained in:
17
OpenSim/Data/MySQL/Resources/HGTravelStore.migrations
Normal file
17
OpenSim/Data/MySQL/Resources/HGTravelStore.migrations
Normal file
@@ -0,0 +1,17 @@
|
||||
:VERSION 1 # --------------------------
|
||||
|
||||
BEGIN;
|
||||
|
||||
CREATE TABLE `hg_traveling_data` (
|
||||
`SessionID` VARCHAR(36) NOT NULL,
|
||||
`UserID` VARCHAR(36) NOT NULL,
|
||||
`GridExternalName` VARCHAR(255) NOT NULL DEFAULT '',
|
||||
`ServiceToken` VARCHAR(255) NOT NULL DEFAULT '',
|
||||
`ClientIPAddress` VARCHAR(16) NOT NULL DEFAULT '',
|
||||
`MyIPAddress` VARCHAR(16) NOT NULL DEFAULT '',
|
||||
PRIMARY KEY (`SessionID`),
|
||||
KEY (`UserID`)
|
||||
) ENGINE=InnoDB;
|
||||
|
||||
COMMIT;
|
||||
|
||||
Reference in New Issue
Block a user