* 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
This commit is contained in:
Justin Clarke Casey
2008-07-02 16:20:54 +00:00
parent 1deaa50240
commit 9052c43319
13 changed files with 25 additions and 45 deletions

View File

@@ -76,15 +76,6 @@ namespace OpenSim.Framework
set { _type = value; }
}
/// <summary>
/// PLEASE DON'T USE ME. I'm probably going away soon.
/// </summary>
public virtual sbyte InvType
{
get { return _invtype; }
set { _invtype = value; }
}
public virtual string Name
{
get { return _name; }

View File

@@ -701,7 +701,6 @@ namespace OpenSim.Framework.Communications.Cache
Data = aBase.Data;
FullID = aBase.FullID;
Type = aBase.Type;
InvType = aBase.InvType;
Name = aBase.Name;
Description = aBase.Description;
}
@@ -718,7 +717,6 @@ namespace OpenSim.Framework.Communications.Cache
Data = aBase.Data;
FullID = aBase.FullID;
Type = aBase.Type;
InvType = aBase.InvType;
Name = aBase.Name;
Description = aBase.Description;
}

View File

@@ -670,7 +670,6 @@ namespace OpenSim.Framework.Communications.Capabilities
asset = new AssetBase();
asset.FullID = assetID;
asset.Type = assType;
asset.InvType = inType;
asset.Name = assetName;
asset.Data = data;
m_assetCache.AddAsset(asset);