aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/SQLite/Resources/HGTravelStore.migrations
diff options
context:
space:
mode:
authorDiva Canto2013-07-14 16:03:46 -0700
committerDiva Canto2013-07-14 16:03:46 -0700
commitaf02231a7b334dde1e3dcbea03c93fe11bcc6037 (patch)
treea495b311d674d8fa9ea1e5234b0cc031815ab174 /OpenSim/Data/SQLite/Resources/HGTravelStore.migrations
parentCleanup old hg sessions (older than 2 days) (diff)
downloadopensim-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 'OpenSim/Data/SQLite/Resources/HGTravelStore.migrations')
-rw-r--r--OpenSim/Data/SQLite/Resources/HGTravelStore.migrations18
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
3BEGIN;
4
5CREATE 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
17COMMIT;
18