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/AgentPrefs.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/AgentPrefs.migrations')
-rw-r--r-- | OpenSim/Data/MySQL/Resources/AgentPrefs.migrations | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Data/MySQL/Resources/AgentPrefs.migrations b/OpenSim/Data/MySQL/Resources/AgentPrefs.migrations index e496f72..d41ae66 100644 --- a/OpenSim/Data/MySQL/Resources/AgentPrefs.migrations +++ b/OpenSim/Data/MySQL/Resources/AgentPrefs.migrations | |||
@@ -2,7 +2,7 @@ | |||
2 | 2 | ||
3 | BEGIN; | 3 | BEGIN; |
4 | 4 | ||
5 | CREATE TABLE `AgentPrefs` ( | 5 | CREATE TABLE IF NOT EXISTS `AgentPrefs` ( |
6 | `PrincipalID` CHAR(36) NOT NULL, | 6 | `PrincipalID` CHAR(36) NOT NULL, |
7 | `AccessPrefs` CHAR(2) NOT NULL DEFAULT 'M', | 7 | `AccessPrefs` CHAR(2) NOT NULL DEFAULT 'M', |
8 | `HoverHeight` DOUBLE(30, 27) NOT NULL DEFAULT 0, | 8 | `HoverHeight` DOUBLE(30, 27) NOT NULL DEFAULT 0, |
@@ -13,6 +13,6 @@ CREATE TABLE `AgentPrefs` ( | |||
13 | `PermNextOwner` INT(6) NOT NULL DEFAULT 532480, | 13 | `PermNextOwner` INT(6) NOT NULL DEFAULT 532480, |
14 | UNIQUE KEY `PrincipalID` (`PrincipalID`), | 14 | UNIQUE KEY `PrincipalID` (`PrincipalID`), |
15 | PRIMARY KEY(`PrincipalID`) | 15 | PRIMARY KEY(`PrincipalID`) |
16 | ) ENGINE=InnoDB DEFAULT CHARSET=utf8; | 16 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8; |
17 | 17 | ||
18 | COMMIT; | 18 | COMMIT; |