aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/MSSQL/Resources/RegionStore.migrations
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2014-03-26 20:34:04 +0000
committerJustin Clark-Casey (justincc)2014-03-26 20:34:04 +0000
commit5e8dfb4f7edaf1125eed4b80c1b535fd460f9ebd (patch)
tree115a2779904acb72e3213d3c517e8b21a20b0a76 /OpenSim/Data/MSSQL/Resources/RegionStore.migrations
parentReinsert code to extract size_x and size_y parameters from GetHomeRegion resp... (diff)
downloadopensim-SC_OLD-5e8dfb4f7edaf1125eed4b80c1b535fd460f9ebd.zip
opensim-SC_OLD-5e8dfb4f7edaf1125eed4b80c1b535fd460f9ebd.tar.gz
opensim-SC_OLD-5e8dfb4f7edaf1125eed4b80c1b535fd460f9ebd.tar.bz2
opensim-SC_OLD-5e8dfb4f7edaf1125eed4b80c1b535fd460f9ebd.tar.xz
Fix extra physics params MSSQL migration (version 39).
This was failing because it used MySQL syntax This is taken from Lucius Sirnah's entry in http://opensimulator.org/mantis/view.php?id=6593 But with the column existence checking removed, as this should not be necessary in a migration and is inconsistent with all other migrations, though I can see a case for doing it.
Diffstat (limited to 'OpenSim/Data/MSSQL/Resources/RegionStore.migrations')
-rw-r--r--OpenSim/Data/MSSQL/Resources/RegionStore.migrations10
1 files changed, 5 insertions, 5 deletions
diff --git a/OpenSim/Data/MSSQL/Resources/RegionStore.migrations b/OpenSim/Data/MSSQL/Resources/RegionStore.migrations
index bb89884..46b1988 100644
--- a/OpenSim/Data/MSSQL/Resources/RegionStore.migrations
+++ b/OpenSim/Data/MSSQL/Resources/RegionStore.migrations
@@ -1161,11 +1161,11 @@ COMMIT
1161 1161
1162BEGIN TRANSACTION 1162BEGIN TRANSACTION
1163 1163
1164ALTER TABLE prims ADD `PhysicsShapeType` tinyint(4) NOT NULL default '0'; 1164ALTER TABLE prims ADD PhysicsShapeType tinyint NOT NULL default 0;
1165ALTER TABLE prims ADD `Density` double NOT NULL default '1000'; 1165ALTER TABLE prims ADD Density float NOT NULL default 1000;
1166ALTER TABLE prims ADD `GravityModifier` double NOT NULL default '1'; 1166ALTER TABLE prims ADD GravityModifier float NOT NULL default 1;
1167ALTER TABLE prims ADD `Friction` double NOT NULL default '0.6'; 1167ALTER TABLE prims ADD Friction float NOT NULL default 0.6;
1168ALTER TABLE prims ADD `Restitution` double NOT NULL default '0.5'; 1168ALTER TABLE prims ADD Restitution float NOT NULL default 0.5;
1169 1169
1170COMMIT 1170COMMIT
1171 1171