mirror of
https://github.com/opensim/opensim.git
synced 2026-08-12 04:05:42 +08:00
* 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:
@@ -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; }
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user