From 9052c43319ab69f57b80e363d965780be625b0e2 Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Wed, 2 Jul 2008 16:20:54 +0000 Subject: * Drop InvType from the assets table since it is no longer used * Migration should be automatic on sqlite and mysql * Migration is not automatic on mssql, you will need to drop the invType column manually * Migration should be fine, but as for any db change, I would recommend making sure you have backups before moving past this revision --- .../Modules/Agent/AssetTransaction/AgentAssetsTransactions.cs | 3 --- 1 file changed, 3 deletions(-) (limited to 'OpenSim/Region/Environment/Modules/Agent') diff --git a/OpenSim/Region/Environment/Modules/Agent/AssetTransaction/AgentAssetsTransactions.cs b/OpenSim/Region/Environment/Modules/Agent/AssetTransaction/AgentAssetsTransactions.cs index f2185ab..bc1d710 100644 --- a/OpenSim/Region/Environment/Modules/Agent/AssetTransaction/AgentAssetsTransactions.cs +++ b/OpenSim/Region/Environment/Modules/Agent/AssetTransaction/AgentAssetsTransactions.cs @@ -216,7 +216,6 @@ namespace OpenSim.Region.Environment.Modules.Agent.AssetTransaction ourClient = remoteClient; Asset = new AssetBase(); Asset.FullID = assetID; - Asset.InvType = type; Asset.Type = type; Asset.Data = data; Asset.Name = "blank"; @@ -314,7 +313,6 @@ namespace OpenSim.Region.Environment.Modules.Agent.AssetTransaction Asset.Name = name; Asset.Description = description; Asset.Type = type; - Asset.InvType = invType; m_createItem = true; if (m_finished) { @@ -351,7 +349,6 @@ namespace OpenSim.Region.Environment.Modules.Agent.AssetTransaction asset.FullID = LLUUID.Random(); asset.Name = item.Name; asset.Description = item.Description; - asset.InvType = (sbyte) item.InvType; asset.Type = (sbyte) item.AssetType; item.AssetID = asset.FullID; -- cgit v1.1