diff options
author | Justin Clarke Casey | 2008-07-02 16:20:54 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-07-02 16:20:54 +0000 |
commit | 9052c43319ab69f57b80e363d965780be625b0e2 (patch) | |
tree | 3e17e9c0908be54ecb01ddff824d6c1a32020e88 /OpenSim/ApplicationPlugins/Rest/Inventory/RestAssetServices.cs | |
parent | Mantis#1647. Thank you kindly, Sempuki for a patch that: (diff) | |
download | opensim-SC_OLD-9052c43319ab69f57b80e363d965780be625b0e2.zip opensim-SC_OLD-9052c43319ab69f57b80e363d965780be625b0e2.tar.gz opensim-SC_OLD-9052c43319ab69f57b80e363d965780be625b0e2.tar.bz2 opensim-SC_OLD-9052c43319ab69f57b80e363d965780be625b0e2.tar.xz |
* 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
Diffstat (limited to 'OpenSim/ApplicationPlugins/Rest/Inventory/RestAssetServices.cs')
-rw-r--r-- | OpenSim/ApplicationPlugins/Rest/Inventory/RestAssetServices.cs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/OpenSim/ApplicationPlugins/Rest/Inventory/RestAssetServices.cs b/OpenSim/ApplicationPlugins/Rest/Inventory/RestAssetServices.cs index 839e0f2..0fc937f 100644 --- a/OpenSim/ApplicationPlugins/Rest/Inventory/RestAssetServices.cs +++ b/OpenSim/ApplicationPlugins/Rest/Inventory/RestAssetServices.cs | |||
@@ -223,7 +223,6 @@ namespace OpenSim.ApplicationPlugins.Rest.Inventory | |||
223 | rdata.writer.WriteAttributeString("name", asset.Name); | 223 | rdata.writer.WriteAttributeString("name", asset.Name); |
224 | rdata.writer.WriteAttributeString("desc", asset.Description); | 224 | rdata.writer.WriteAttributeString("desc", asset.Description); |
225 | rdata.writer.WriteAttributeString("type", asset.Type.ToString()); | 225 | rdata.writer.WriteAttributeString("type", asset.Type.ToString()); |
226 | rdata.writer.WriteAttributeString("invtype", asset.InvType.ToString()); | ||
227 | rdata.writer.WriteAttributeString("local", asset.Local.ToString()); | 226 | rdata.writer.WriteAttributeString("local", asset.Local.ToString()); |
228 | rdata.writer.WriteAttributeString("temporary", asset.Temporary.ToString()); | 227 | rdata.writer.WriteAttributeString("temporary", asset.Temporary.ToString()); |
229 | 228 | ||