aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorMelanie Thielker2015-07-14 21:16:25 +0200
committerMelanie Thielker2015-07-14 21:16:25 +0200
commit7b571a928c2e32ee41a59e5c7784932e1ab823bb (patch)
treeaf05d6e33f83e85f8e5224dc6b0b48f3414f9176
parentAdd config options for FSAssetService. The default is the original asset serv... (diff)
downloadopensim-SC-7b571a928c2e32ee41a59e5c7784932e1ab823bb.zip
opensim-SC-7b571a928c2e32ee41a59e5c7784932e1ab823bb.tar.gz
opensim-SC-7b571a928c2e32ee41a59e5c7784932e1ab823bb.tar.bz2
opensim-SC-7b571a928c2e32ee41a59e5c7784932e1ab823bb.tar.xz
Mantis #7629: Change LandFlags column to unsigned. Thanks, Jim!
-rw-r--r--OpenSim/Data/MySQL/Resources/RegionStore.migrations8
-rw-r--r--OpenSim/Data/PGSQL/Resources/RegionStore.migrations8
2 files changed, 16 insertions, 0 deletions
diff --git a/OpenSim/Data/MySQL/Resources/RegionStore.migrations b/OpenSim/Data/MySQL/Resources/RegionStore.migrations
index a77e44d..7aefadb 100644
--- a/OpenSim/Data/MySQL/Resources/RegionStore.migrations
+++ b/OpenSim/Data/MySQL/Resources/RegionStore.migrations
@@ -940,3 +940,11 @@ ALTER TABLE prims ADD COLUMN AttachedPosZ double default 0;
940ALTER TABLE primshapes ADD COLUMN LastAttachPoint int(4) not null default '0'; 940ALTER TABLE primshapes ADD COLUMN LastAttachPoint int(4) not null default '0';
941COMMIT; 941COMMIT;
942 942
943:VERSION 50 #---- Change LandFlags to unsigned
944
945BEGIN;
946
947ALTER TABLE land CHANGE COLUMN LandFlags LandFlags unsigned default null;
948
949COMMIT;
950
diff --git a/OpenSim/Data/PGSQL/Resources/RegionStore.migrations b/OpenSim/Data/PGSQL/Resources/RegionStore.migrations
index 1e33027..3852e3a 100644
--- a/OpenSim/Data/PGSQL/Resources/RegionStore.migrations
+++ b/OpenSim/Data/PGSQL/Resources/RegionStore.migrations
@@ -1152,3 +1152,11 @@ ALTER TABLE regionwindlight ALTER draw_classic_clouds TYPE bool USING CASE WHEN
1152ALTER TABLE regionwindlight ALTER COLUMN draw_classic_clouds SET DEFAULT FALSE; 1152ALTER TABLE regionwindlight ALTER COLUMN draw_classic_clouds SET DEFAULT FALSE;
1153 1153
1154COMMIT; 1154COMMIT;
1155
1156VERSION 41 #-- Change Landlags to unsigned
1157
1158BEGIN TRANSACTION;
1159
1160ALTER TABLE land ALTER LandFlags TYPE unsigned;
1161
1162COMMIT;