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