From 4153cfbf14132931b981168b7b3e7c5b8d5be8b5 Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Tue, 2 Apr 2013 00:45:29 +0100 Subject: Change recent MSSQL migrations to drop COLUMN from ALTER TABLE which is either not syntactical or unnecessary. May fix http://opensimulator.org/mantis/view.php?id=6593 --- OpenSim/Data/MSSQL/Resources/RegionStore.migrations | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'OpenSim/Data') diff --git a/OpenSim/Data/MSSQL/Resources/RegionStore.migrations b/OpenSim/Data/MSSQL/Resources/RegionStore.migrations index b84c2a4..4549801 100644 --- a/OpenSim/Data/MSSQL/Resources/RegionStore.migrations +++ b/OpenSim/Data/MSSQL/Resources/RegionStore.migrations @@ -1153,7 +1153,7 @@ COMMIT BEGIN TRANSACTION -ALTER TABLE prims ADD COLUMN DynAttrs TEXT; +ALTER TABLE prims ADD DynAttrs TEXT; COMMIT @@ -1161,10 +1161,10 @@ COMMIT BEGIN TRANSACTION -ALTER TABLE prims ADD COLUMN `PhysicsShapeType` tinyint(4) NOT NULL default '0'; -ALTER TABLE prims ADD COLUMN `Density` double NOT NULL default '1000'; -ALTER TABLE prims ADD COLUMN `GravityModifier` double NOT NULL default '1'; -ALTER TABLE prims ADD COLUMN `Friction` double NOT NULL default '0.6'; -ALTER TABLE prims ADD COLUMN `Restitution` double NOT NULL default '0.5'; +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'; COMMIT -- cgit v1.1