diff options
author | Melanie Thielker | 2015-07-14 21:16:25 +0200 |
---|---|---|
committer | Melanie Thielker | 2015-07-14 21:16:25 +0200 |
commit | 7b571a928c2e32ee41a59e5c7784932e1ab823bb (patch) | |
tree | af05d6e33f83e85f8e5224dc6b0b48f3414f9176 | |
parent | Add config options for FSAssetService. The default is the original asset serv... (diff) | |
download | opensim-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.migrations | 8 | ||||
-rw-r--r-- | OpenSim/Data/PGSQL/Resources/RegionStore.migrations | 8 |
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; | |||
940 | ALTER TABLE primshapes ADD COLUMN LastAttachPoint int(4) not null default '0'; | 940 | ALTER TABLE primshapes ADD COLUMN LastAttachPoint int(4) not null default '0'; |
941 | COMMIT; | 941 | COMMIT; |
942 | 942 | ||
943 | :VERSION 50 #---- Change LandFlags to unsigned | ||
944 | |||
945 | BEGIN; | ||
946 | |||
947 | ALTER TABLE land CHANGE COLUMN LandFlags LandFlags unsigned default null; | ||
948 | |||
949 | COMMIT; | ||
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 | |||
1152 | ALTER TABLE regionwindlight ALTER COLUMN draw_classic_clouds SET DEFAULT FALSE; | 1152 | ALTER TABLE regionwindlight ALTER COLUMN draw_classic_clouds SET DEFAULT FALSE; |
1153 | 1153 | ||
1154 | COMMIT; | 1154 | COMMIT; |
1155 | |||
1156 | VERSION 41 #-- Change Landlags to unsigned | ||
1157 | |||
1158 | BEGIN TRANSACTION; | ||
1159 | |||
1160 | ALTER TABLE land ALTER LandFlags TYPE unsigned; | ||
1161 | |||
1162 | COMMIT; | ||