aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/PGSQL/Resources/RegionStore.migrations
diff options
context:
space:
mode:
authorGeir Nøklebye2016-03-16 15:17:38 +0100
committerKevin Cozens2016-04-25 12:17:17 -0400
commit7aa3d4256e80c55b0e39f0c37ef679ef426be48d (patch)
tree64f0caa81d0a2f7d17b82d6640903bff727fb46a /OpenSim/Data/PGSQL/Resources/RegionStore.migrations
parentUpdated the code to handle Agent Preferences. Thanks to TomDataworks for prov... (diff)
downloadopensim-SC-7aa3d4256e80c55b0e39f0c37ef679ef426be48d.zip
opensim-SC-7aa3d4256e80c55b0e39f0c37ef679ef426be48d.tar.gz
opensim-SC-7aa3d4256e80c55b0e39f0c37ef679ef426be48d.tar.bz2
opensim-SC-7aa3d4256e80c55b0e39f0c37ef679ef426be48d.tar.xz
POSTGRES: Update database migrations to be in accordance with MySQL table definitions. Prerequisite for fixing PGSQLSimulationdata
Signed-off-by: Kevin Cozens <kevin@ve3syb.ca> (mantis #7846)
Diffstat (limited to '')
-rw-r--r--OpenSim/Data/PGSQL/Resources/RegionStore.migrations24
1 files changed, 23 insertions, 1 deletions
diff --git a/OpenSim/Data/PGSQL/Resources/RegionStore.migrations b/OpenSim/Data/PGSQL/Resources/RegionStore.migrations
index 1284ce0..9a2c19b 100644
--- a/OpenSim/Data/PGSQL/Resources/RegionStore.migrations
+++ b/OpenSim/Data/PGSQL/Resources/RegionStore.migrations
@@ -1153,10 +1153,32 @@ ALTER TABLE regionwindlight ALTER COLUMN draw_classic_clouds SET DEFAULT FALSE;
1153 1153
1154COMMIT; 1154COMMIT;
1155 1155
1156VERSION 41 #-- Change Landlags to bigint 1156:VERSION 41 #-- Change Landlags to bigint
1157 1157
1158BEGIN TRANSACTION; 1158BEGIN TRANSACTION;
1159 1159
1160ALTER TABLE land ALTER "LandFlags" TYPE bigint; 1160ALTER TABLE land ALTER "LandFlags" TYPE bigint;
1161 1161
1162COMMIT; 1162COMMIT;
1163
1164:VERSION 42 #-- avination fields
1165
1166BEGIN TRANSACTION;
1167
1168ALTER TABLE prims ADD "PassCollisions" smallint NOT NULL DEFAULT (0);
1169ALTER TABLE prims ADD "Vehicle" text COLLATE "default";
1170ALTER TABLE regionsettings ADD "block_search" smallint NOT NULL DEFAULT (0);
1171ALTER TABLE regionsettings ADD "casino" smallint NOT NULL DEFAULT (0);
1172ALTER TABLE land ADD "SeeAVs" smallint NOT NULL DEFAULT (1);
1173ALTER TABLE land ADD "AnyAVSounds" smallint NOT NULL DEFAULT (1);
1174ALTER TABLE land ADD "GroupAVSounds" smallint NOT NULL DEFAULT (1);
1175
1176COMMIT;
1177
1178:VERSION 43 #---- STATUS ROTATION axis locks
1179
1180BEGIN TRANSACTION;
1181
1182ALTER TABLE prims ADD "RotationAxisLocks" smallint NOT NULL DEFAULT (0);
1183
1184COMMIT;