diff options
author | onefang | 2021-09-09 20:35:44 +1000 |
---|---|---|
committer | onefang | 2021-09-09 20:35:44 +1000 |
commit | d3dd53f5a4fefc592cebca61f2e92e72b35b4cdf (patch) | |
tree | 4192047577c67251bcdf2cf03a7717890643a17e | |
parent | Symlink the shini once more. (diff) | |
download | opensim-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.migrations | 8 |
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 | ||
159 | CREATE TABLE IF NOT EXISTS `terrain` ( | 159 | CREATE 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 | ||
165 | CREATE TABLE IF NOT EXISTS `land` ( | 165 | CREATE 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 | ||
209 | CREATE TABLE IF NOT EXISTS `landaccesslist` ( | 209 | CREATE 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; | |||
384 | BEGIN; | 384 | BEGIN; |
385 | 385 | ||
386 | CREATE TABLE IF NOT EXISTS `bakedterrain` ( | 386 | CREATE 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; |