From 5e8dfb4f7edaf1125eed4b80c1b535fd460f9ebd Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Wed, 26 Mar 2014 20:34:04 +0000 Subject: 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. --- OpenSim/Data/MSSQL/Resources/RegionStore.migrations | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'OpenSim/Data') 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 BEGIN TRANSACTION -ALTER TABLE prims ADD `PhysicsShapeType` tinyint(4) NOT NULL default '0'; -ALTER TABLE prims ADD `Density` double NOT NULL default '1000'; -ALTER TABLE prims ADD `GravityModifier` double NOT NULL default '1'; -ALTER TABLE prims ADD `Friction` double NOT NULL default '0.6'; -ALTER TABLE prims ADD `Restitution` double NOT NULL default '0.5'; +ALTER TABLE prims ADD PhysicsShapeType tinyint NOT NULL default 0; +ALTER TABLE prims ADD Density float NOT NULL default 1000; +ALTER TABLE prims ADD GravityModifier float NOT NULL default 1; +ALTER TABLE prims ADD Friction float NOT NULL default 0.6; +ALTER TABLE prims ADD Restitution float NOT NULL default 0.5; COMMIT -- cgit v1.1