mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 22:26:09 +08:00
change some mysql tables and columns character sets, this is close to patch at mantis 8707, but that is not correct. This should have no impact on current dbs. Many of those are now too large to do this change automaticl,, but they should. Some columns as utf8 (4 bytes in future) are pure waste of space, in fact some are used as indexes and can violate max index size. Namelly on groups V2, reason why we are forced to use utf8mb3 mostly likely to be dropped by new mysql/maria versions
This commit is contained in:
@@ -12,13 +12,13 @@ CREATE TABLE IF NOT EXISTS `UserAccounts` (
|
||||
`Created` int(11) DEFAULT NULL,
|
||||
`UserLevel` int(11) NOT NULL DEFAULT '0',
|
||||
`UserFlags` int(11) NOT NULL DEFAULT '0',
|
||||
`UserTitle` varchar(64) NOT NULL DEFAULT '',
|
||||
`UserTitle` varchar(64) CHARACTER SET utf8 NOT NULL DEFAULT '',
|
||||
UNIQUE KEY `PrincipalID` (`PrincipalID`),
|
||||
KEY `Email` (`Email`),
|
||||
KEY `FirstName` (`FirstName`),
|
||||
KEY `LastName` (`LastName`),
|
||||
KEY `Name` (`FirstName`,`LastName`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
||||
|
||||
COMMIT;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user