diff options
author | onefang | 2019-05-19 21:56:12 +1000 |
---|---|---|
committer | onefang | 2019-05-19 21:56:12 +1000 |
commit | d6bcc229eba25ae240322f48ea3f31b832d55ab4 (patch) | |
tree | 7235d35cc1065352e443951fec44c7aadcb4fdfe /OpenSim/Data/MySQL/Resources/HGTravelStore.migrations | |
parent | Dump OpenSim 0.9.0.1 into it's own branch. (diff) | |
download | opensim-SC_OLD-d6bcc229eba25ae240322f48ea3f31b832d55ab4.zip opensim-SC_OLD-d6bcc229eba25ae240322f48ea3f31b832d55ab4.tar.gz opensim-SC_OLD-d6bcc229eba25ae240322f48ea3f31b832d55ab4.tar.bz2 opensim-SC_OLD-d6bcc229eba25ae240322f48ea3f31b832d55ab4.tar.xz |
Various database fixups.
InnoDB -> MyISAM
utf8
if not exists
white space
Diffstat (limited to 'OpenSim/Data/MySQL/Resources/HGTravelStore.migrations')
-rw-r--r-- | OpenSim/Data/MySQL/Resources/HGTravelStore.migrations | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/OpenSim/Data/MySQL/Resources/HGTravelStore.migrations b/OpenSim/Data/MySQL/Resources/HGTravelStore.migrations index b4e4422..ed1fede 100644 --- a/OpenSim/Data/MySQL/Resources/HGTravelStore.migrations +++ b/OpenSim/Data/MySQL/Resources/HGTravelStore.migrations | |||
@@ -2,17 +2,16 @@ | |||
2 | 2 | ||
3 | BEGIN; | 3 | BEGIN; |
4 | 4 | ||
5 | CREATE TABLE `hg_traveling_data` ( | 5 | CREATE TABLE IF NOT EXISTS `hg_traveling_data` ( |
6 | `SessionID` VARCHAR(36) NOT NULL, | 6 | `SessionID` VARCHAR(36) NOT NULL, |
7 | `UserID` VARCHAR(36) NOT NULL, | 7 | `UserID` VARCHAR(36) NOT NULL, |
8 | `GridExternalName` VARCHAR(255) NOT NULL DEFAULT '', | 8 | `GridExternalName` VARCHAR(255) NOT NULL DEFAULT '', |
9 | `ServiceToken` VARCHAR(255) NOT NULL DEFAULT '', | 9 | `ServiceToken` VARCHAR(255) NOT NULL DEFAULT '', |
10 | `ClientIPAddress` VARCHAR(16) NOT NULL DEFAULT '', | 10 | `ClientIPAddress` VARCHAR(16) NOT NULL DEFAULT '', |
11 | `MyIPAddress` VARCHAR(16) NOT NULL DEFAULT '', | 11 | `MyIPAddress` VARCHAR(16) NOT NULL DEFAULT '', |
12 | `TMStamp` timestamp NOT NULL, | 12 | `TMStamp` timestamp NOT NULL, |
13 | PRIMARY KEY (`SessionID`), | 13 | PRIMARY KEY (`SessionID`), |
14 | KEY (`UserID`) | 14 | KEY (`UserID`) |
15 | ) ENGINE=InnoDB; | 15 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8; |
16 | 16 | ||
17 | COMMIT; | 17 | COMMIT; |
18 | |||