few additional fixed to get prim inventory up on nhibernate
parent
c38b811f5d
commit
1c9551eaae
|
@ -259,7 +259,9 @@ namespace OpenSim.Data.NHibernate
|
|||
{
|
||||
inventory.Add(i);
|
||||
}
|
||||
p.RestoreInventoryItems(inventory);
|
||||
|
||||
if (inventory.Count > 0)
|
||||
p.RestoreInventoryItems(inventory);
|
||||
}
|
||||
foreach (SceneObjectGroup g in SOG.Values)
|
||||
{
|
||||
|
|
|
@ -2,7 +2,6 @@ BEGIN;
|
|||
|
||||
CREATE TABLE `PrimItems` (
|
||||
`InvType` int(11) default NULL,
|
||||
`AssetType` int(11) default NULL,
|
||||
`Name` varchar(255) default NULL,
|
||||
`Description` varchar(255) default NULL,
|
||||
`CreationDate` bigint(20) default NULL,
|
||||
|
|
|
@ -116,7 +116,7 @@
|
|||
</id>
|
||||
<property name="ParentPartID" column="PrimID" type="OpenSim.Data.NHibernate.LLUUIDUserType, OpenSim.Data.NHibernate"/>
|
||||
<property name="AssetID" type="OpenSim.Data.NHibernate.LLUUIDUserType, OpenSim.Data.NHibernate"/>
|
||||
<property name="ParentFolderID" type="OpenSim.Data.NHibernate.LLUUIDUserType, OpenSim.Data.NHibernate"/>
|
||||
<property name="ParentID" column="ParentFolderID" type="OpenSim.Data.NHibernate.LLUUIDUserType, OpenSim.Data.NHibernate"/>
|
||||
<property name="CreatorID" type="OpenSim.Data.NHibernate.LLUUIDUserType, OpenSim.Data.NHibernate"/>
|
||||
<property name="OwnerID" type="OpenSim.Data.NHibernate.LLUUIDUserType, OpenSim.Data.NHibernate"/>
|
||||
<property name="GroupID" type="OpenSim.Data.NHibernate.LLUUIDUserType, OpenSim.Data.NHibernate"/>
|
||||
|
@ -131,6 +131,5 @@
|
|||
<property name="CreationDate" type="System.UInt32" />
|
||||
<property name="Flags" type="System.UInt32" />
|
||||
<property name="InvType" type="System.Int32" />
|
||||
<property name="AssetType" type="System.Int32" />
|
||||
</class>
|
||||
</hibernate-mapping>
|
Loading…
Reference in New Issue