diff options
author | Diva Canto | 2013-07-14 14:31:20 -0700 |
---|---|---|
committer | Diva Canto | 2013-07-14 14:31:20 -0700 |
commit | e33ac50388b5b9d6d06c58c45e2ea6f17e9b987f (patch) | |
tree | 72a0ab317066805e8e022ecca790aa23ce29bd02 /OpenSim/Data/MySQL/Resources | |
parent | Minor typo in log message (diff) | |
download | opensim-SC-e33ac50388b5b9d6d06c58c45e2ea6f17e9b987f.zip opensim-SC-e33ac50388b5b9d6d06c58c45e2ea6f17e9b987f.tar.gz opensim-SC-e33ac50388b5b9d6d06c58c45e2ea6f17e9b987f.tar.bz2 opensim-SC-e33ac50388b5b9d6d06c58c45e2ea6f17e9b987f.tar.xz |
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.
Diffstat (limited to 'OpenSim/Data/MySQL/Resources')
-rw-r--r-- | OpenSim/Data/MySQL/Resources/HGTravelStore.migrations | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/OpenSim/Data/MySQL/Resources/HGTravelStore.migrations b/OpenSim/Data/MySQL/Resources/HGTravelStore.migrations new file mode 100644 index 0000000..a0c9ebe --- /dev/null +++ b/OpenSim/Data/MySQL/Resources/HGTravelStore.migrations | |||
@@ -0,0 +1,17 @@ | |||
1 | :VERSION 1 # -------------------------- | ||
2 | |||
3 | BEGIN; | ||
4 | |||
5 | CREATE TABLE `hg_traveling_data` ( | ||
6 | `SessionID` VARCHAR(36) NOT NULL, | ||
7 | `UserID` VARCHAR(36) NOT NULL, | ||
8 | `GridExternalName` VARCHAR(255) NOT NULL DEFAULT '', | ||
9 | `ServiceToken` VARCHAR(255) NOT NULL DEFAULT '', | ||
10 | `ClientIPAddress` VARCHAR(16) NOT NULL DEFAULT '', | ||
11 | `MyIPAddress` VARCHAR(16) NOT NULL DEFAULT '', | ||
12 | PRIMARY KEY (`SessionID`), | ||
13 | KEY (`UserID`) | ||
14 | ) ENGINE=InnoDB; | ||
15 | |||
16 | COMMIT; | ||
17 | |||