aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authoronefang2021-09-09 20:35:44 +1000
committeronefang2021-09-09 20:35:44 +1000
commitd3dd53f5a4fefc592cebca61f2e92e72b35b4cdf (patch)
tree4192047577c67251bcdf2cf03a7717890643a17e
parentSymlink the shini once more. (diff)
downloadopensim-SC-d3dd53f5a4fefc592cebca61f2e92e72b35b4cdf.zip
opensim-SC-d3dd53f5a4fefc592cebca61f2e92e72b35b4cdf.tar.gz
opensim-SC-d3dd53f5a4fefc592cebca61f2e92e72b35b4cdf.tar.bz2
opensim-SC-d3dd53f5a4fefc592cebca61f2e92e72b35b4cdf.tar.xz
What numbnuts thought UUIDs should be varchar(255)?
-rw-r--r--OpenSim/Data/MySQL/Resources/RegionStore.migrations8
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Data/MySQL/Resources/RegionStore.migrations b/OpenSim/Data/MySQL/Resources/RegionStore.migrations
index 014d227..83bc532 100644
--- a/OpenSim/Data/MySQL/Resources/RegionStore.migrations
+++ b/OpenSim/Data/MySQL/Resources/RegionStore.migrations
@@ -157,13 +157,13 @@ CREATE TABLE IF NOT EXISTS `primitems` (
157) ENGINE=MyISAM DEFAULT CHARSET=latin1; 157) ENGINE=MyISAM DEFAULT CHARSET=latin1;
158 158
159CREATE TABLE IF NOT EXISTS `terrain` ( 159CREATE TABLE IF NOT EXISTS `terrain` (
160 `RegionUUID` varchar(255) DEFAULT NULL, 160 `RegionUUID` char(36) DEFAULT NULL,
161 `Revision` int(11) DEFAULT NULL, 161 `Revision` int(11) DEFAULT NULL,
162 `Heightfield` longblob 162 `Heightfield` longblob
163) ENGINE=MyISAM DEFAULT CHARSET=latin1; 163) ENGINE=MyISAM DEFAULT CHARSET=latin1;
164 164
165CREATE TABLE IF NOT EXISTS `land` ( 165CREATE TABLE IF NOT EXISTS `land` (
166 `UUID` varchar(255) NOT NULL, 166 `UUID` char(36) NOT NULL,
167 `RegionUUID` varchar(255) DEFAULT NULL, 167 `RegionUUID` varchar(255) DEFAULT NULL,
168 `LocalLandID` int(11) DEFAULT NULL, 168 `LocalLandID` int(11) DEFAULT NULL,
169 `Bitmap` longblob, 169 `Bitmap` longblob,
@@ -207,7 +207,7 @@ CREATE TABLE IF NOT EXISTS `land` (
207) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4; 207) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4;
208 208
209CREATE TABLE IF NOT EXISTS `landaccesslist` ( 209CREATE TABLE IF NOT EXISTS `landaccesslist` (
210 `LandUUID` varchar(255) DEFAULT NULL, 210 `LandUUID` char(36) DEFAULT NULL,
211 `AccessUUID` varchar(255) DEFAULT NULL, 211 `AccessUUID` varchar(255) DEFAULT NULL,
212 `Flags` int(11) DEFAULT NULL, 212 `Flags` int(11) DEFAULT NULL,
213 `Expires` int(11) NOT NULL DEFAULT '0' 213 `Expires` int(11) NOT NULL DEFAULT '0'
@@ -384,7 +384,7 @@ COMMIT;
384BEGIN; 384BEGIN;
385 385
386CREATE TABLE IF NOT EXISTS `bakedterrain` ( 386CREATE TABLE IF NOT EXISTS `bakedterrain` (
387 `RegionUUID` varchar(255) DEFAULT NULL, 387 `RegionUUID` char(36) DEFAULT NULL,
388 `Revision` int(11) DEFAULT NULL, 388 `Revision` int(11) DEFAULT NULL,
389 `Heightfield` longblob 389 `Heightfield` longblob
390) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4; 390) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4;