diff options
author | onefang | 2020-07-31 01:43:03 +1000 |
---|---|---|
committer | onefang | 2020-07-31 01:43:03 +1000 |
commit | 78c5071a8f664191c7c837279f7445e280daccf9 (patch) | |
tree | 7ed95d289b389a1ec659e6281215a584cc3713fd /OpenSim/Data/MySQL/Resources/GridUserStore.migrations | |
parent | Remove useless .csproj files. (diff) | |
download | opensim-SC-78c5071a8f664191c7c837279f7445e280daccf9.zip opensim-SC-78c5071a8f664191c7c837279f7445e280daccf9.tar.gz opensim-SC-78c5071a8f664191c7c837279f7445e280daccf9.tar.bz2 opensim-SC-78c5071a8f664191c7c837279f7445e280daccf9.tar.xz |
Various database fixups.
InnoDB -> MyISAM
utf8
if not exists
white space
Diffstat (limited to 'OpenSim/Data/MySQL/Resources/GridUserStore.migrations')
-rw-r--r-- | OpenSim/Data/MySQL/Resources/GridUserStore.migrations | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Data/MySQL/Resources/GridUserStore.migrations b/OpenSim/Data/MySQL/Resources/GridUserStore.migrations index d08e096..99b16ed 100644 --- a/OpenSim/Data/MySQL/Resources/GridUserStore.migrations +++ b/OpenSim/Data/MySQL/Resources/GridUserStore.migrations | |||
@@ -2,7 +2,7 @@ | |||
2 | 2 | ||
3 | BEGIN; | 3 | BEGIN; |
4 | 4 | ||
5 | CREATE TABLE `GridUser` ( | 5 | CREATE TABLE IF NOT EXISTS `GridUser` ( |
6 | `UserID` VARCHAR(255) NOT NULL, | 6 | `UserID` VARCHAR(255) NOT NULL, |
7 | `HomeRegionID` CHAR(36) NOT NULL DEFAULT '00000000-0000-0000-0000-000000000000', | 7 | `HomeRegionID` CHAR(36) NOT NULL DEFAULT '00000000-0000-0000-0000-000000000000', |
8 | `HomePosition` CHAR(64) NOT NULL DEFAULT '<0,0,0>', | 8 | `HomePosition` CHAR(64) NOT NULL DEFAULT '<0,0,0>', |
@@ -14,7 +14,7 @@ CREATE TABLE `GridUser` ( | |||
14 | `Login` CHAR(16) NOT NULL DEFAULT '0', | 14 | `Login` CHAR(16) NOT NULL DEFAULT '0', |
15 | `Logout` CHAR(16) NOT NULL DEFAULT '0', | 15 | `Logout` CHAR(16) NOT NULL DEFAULT '0', |
16 | PRIMARY KEY (`UserID`) | 16 | PRIMARY KEY (`UserID`) |
17 | ) ENGINE=InnoDB; | 17 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8; |
18 | 18 | ||
19 | COMMIT; | 19 | COMMIT; |
20 | 20 | ||