aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data
diff options
context:
space:
mode:
authorMelanie Thielker2015-07-14 21:22:53 +0200
committerMelanie Thielker2015-07-14 21:22:53 +0200
commitc7f6e248e8544200871a1bf814f34e2ee0f9d977 (patch)
tree13fa2e1eae6dd42d6733b6409a3425453b0a55f6 /OpenSim/Data
parentMantis #7629: Change LandFlags column to unsigned. Thanks, Jim! (diff)
downloadopensim-SC_OLD-c7f6e248e8544200871a1bf814f34e2ee0f9d977.zip
opensim-SC_OLD-c7f6e248e8544200871a1bf814f34e2ee0f9d977.tar.gz
opensim-SC_OLD-c7f6e248e8544200871a1bf814f34e2ee0f9d977.tar.bz2
opensim-SC_OLD-c7f6e248e8544200871a1bf814f34e2ee0f9d977.tar.xz
Correcting errors in previous change: MySQL needs int unsigned, not
unsigned int. PGSQL has no unsigned types, changing to bigint.
Diffstat (limited to 'OpenSim/Data')
-rw-r--r--OpenSim/Data/MySQL/Resources/RegionStore.migrations2
-rw-r--r--OpenSim/Data/PGSQL/Resources/RegionStore.migrations4
2 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Data/MySQL/Resources/RegionStore.migrations b/OpenSim/Data/MySQL/Resources/RegionStore.migrations
index 7aefadb..ac31380 100644
--- a/OpenSim/Data/MySQL/Resources/RegionStore.migrations
+++ b/OpenSim/Data/MySQL/Resources/RegionStore.migrations
@@ -944,7 +944,7 @@ COMMIT;
944 944
945BEGIN; 945BEGIN;
946 946
947ALTER TABLE land CHANGE COLUMN LandFlags LandFlags unsigned default null; 947ALTER TABLE land CHANGE COLUMN LandFlags LandFlags int unsigned default null;
948 948
949COMMIT; 949COMMIT;
950 950
diff --git a/OpenSim/Data/PGSQL/Resources/RegionStore.migrations b/OpenSim/Data/PGSQL/Resources/RegionStore.migrations
index 3852e3a..d3277f2 100644
--- a/OpenSim/Data/PGSQL/Resources/RegionStore.migrations
+++ b/OpenSim/Data/PGSQL/Resources/RegionStore.migrations
@@ -1153,10 +1153,10 @@ ALTER TABLE regionwindlight ALTER COLUMN draw_classic_clouds SET DEFAULT FALSE;
1153 1153
1154COMMIT; 1154COMMIT;
1155 1155
1156VERSION 41 #-- Change Landlags to unsigned 1156VERSION 41 #-- Change Landlags to bigint
1157 1157
1158BEGIN TRANSACTION; 1158BEGIN TRANSACTION;
1159 1159
1160ALTER TABLE land ALTER LandFlags TYPE unsigned; 1160ALTER TABLE land ALTER LandFlags TYPE bigint;
1161 1161
1162COMMIT; 1162COMMIT;