diff options
author | Diva Canto | 2013-07-14 16:03:46 -0700 |
---|---|---|
committer | Diva Canto | 2013-07-14 16:03:46 -0700 |
commit | af02231a7b334dde1e3dcbea03c93fe11bcc6037 (patch) | |
tree | a495b311d674d8fa9ea1e5234b0cc031815ab174 /OpenSim/Data/SQLite/Resources/HGTravelStore.migrations | |
parent | Cleanup old hg sessions (older than 2 days) (diff) | |
download | opensim-SC_OLD-af02231a7b334dde1e3dcbea03c93fe11bcc6037.zip opensim-SC_OLD-af02231a7b334dde1e3dcbea03c93fe11bcc6037.tar.gz opensim-SC_OLD-af02231a7b334dde1e3dcbea03c93fe11bcc6037.tar.bz2 opensim-SC_OLD-af02231a7b334dde1e3dcbea03c93fe11bcc6037.tar.xz |
Added SQLite version of hg travel data store. UNTESTED. Hope it works!
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Data/SQLite/Resources/HGTravelStore.migrations | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/OpenSim/Data/SQLite/Resources/HGTravelStore.migrations b/OpenSim/Data/SQLite/Resources/HGTravelStore.migrations new file mode 100644 index 0000000..2e73caa --- /dev/null +++ b/OpenSim/Data/SQLite/Resources/HGTravelStore.migrations | |||
@@ -0,0 +1,18 @@ | |||
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 | TMStamp timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, | ||
13 | PRIMARY KEY (`SessionID`), | ||
14 | KEY (`UserID`) | ||
15 | ) ENGINE=InnoDB; | ||
16 | |||
17 | COMMIT; | ||
18 | |||