diff options
Diffstat (limited to 'OpenSim/Data/SQLite/Resources/HGTravelStore.migrations')
-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 | |||