diff options
author | Sean Dague | 2008-04-08 23:44:52 +0000 |
---|---|---|
committer | Sean Dague | 2008-04-08 23:44:52 +0000 |
commit | 960d57090ffd22e705deb622014288fb9f2f8040 (patch) | |
tree | 4c6e69495eb37c17cd7faada7d62f75e579efc2a | |
parent | add comment for version field based on what Teravus said :) (diff) | |
download | opensim-SC_OLD-960d57090ffd22e705deb622014288fb9f2f8040.zip opensim-SC_OLD-960d57090ffd22e705deb622014288fb9f2f8040.tar.gz opensim-SC_OLD-960d57090ffd22e705deb622014288fb9f2f8040.tar.bz2 opensim-SC_OLD-960d57090ffd22e705deb622014288fb9f2f8040.tar.xz |
fix up Inventory hbm definitions to work. Adding indexes in
NHibernate is quite nice (though there will still need to be a
db creator bit carved out later).
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Data/NHibernate/Resources/InventoryFolderBase.hbm.xml | 1 | ||||
-rw-r--r-- | OpenSim/Data/NHibernate/Resources/InventoryItemBase.hbm.xml | 12 |
2 files changed, 6 insertions, 7 deletions
diff --git a/OpenSim/Data/NHibernate/Resources/InventoryFolderBase.hbm.xml b/OpenSim/Data/NHibernate/Resources/InventoryFolderBase.hbm.xml index c163020..d24d312 100644 --- a/OpenSim/Data/NHibernate/Resources/InventoryFolderBase.hbm.xml +++ b/OpenSim/Data/NHibernate/Resources/InventoryFolderBase.hbm.xml | |||
@@ -6,7 +6,6 @@ | |||
6 | </id> | 6 | </id> |
7 | <property name="Type" type="short" /> | 7 | <property name="Type" type="short" /> |
8 | <property name="Version" type="short" /> | 8 | <property name="Version" type="short" /> |
9 | <property name="AssetID" type="OpenSim.Data.NHibernate.LLUUIDString, OpenSim.Data.NHibernate" /> | ||
10 | <property name="ParentID" index="parent_id" type="OpenSim.Data.NHibernate.LLUUIDString, OpenSim.Data.NHibernate" /> | 9 | <property name="ParentID" index="parent_id" type="OpenSim.Data.NHibernate.LLUUIDString, OpenSim.Data.NHibernate" /> |
11 | <property name="Owner" index="owner_id" type="OpenSim.Data.NHibernate.LLUUIDString, OpenSim.Data.NHibernate" /> | 10 | <property name="Owner" index="owner_id" type="OpenSim.Data.NHibernate.LLUUIDString, OpenSim.Data.NHibernate" /> |
12 | <property name="Name" type="String" length="64" /> | 11 | <property name="Name" type="String" length="64" /> |
diff --git a/OpenSim/Data/NHibernate/Resources/InventoryItemBase.hbm.xml b/OpenSim/Data/NHibernate/Resources/InventoryItemBase.hbm.xml index dfbdf3e..8a0fb69 100644 --- a/OpenSim/Data/NHibernate/Resources/InventoryItemBase.hbm.xml +++ b/OpenSim/Data/NHibernate/Resources/InventoryItemBase.hbm.xml | |||
@@ -7,14 +7,14 @@ | |||
7 | <property name="InvType" type="int" /> | 7 | <property name="InvType" type="int" /> |
8 | <property name="AssetType" type="int" /> | 8 | <property name="AssetType" type="int" /> |
9 | <property name="AssetID" type="OpenSim.Data.NHibernate.LLUUIDString, OpenSim.Data.NHibernate" /> | 9 | <property name="AssetID" type="OpenSim.Data.NHibernate.LLUUIDString, OpenSim.Data.NHibernate" /> |
10 | <property name="Folder" type="OpenSim.Data.NHibernate.LLUUIDString, OpenSim.Data.NHibernate" /> | 10 | <property name="Folder" index="folder_id" type="OpenSim.Data.NHibernate.LLUUIDString, OpenSim.Data.NHibernate" /> |
11 | <property name="Owner" type="OpenSim.Data.NHibernate.LLUUIDString, OpenSim.Data.NHibernate" /> | 11 | <property name="Owner" index="owner_id" type="OpenSim.Data.NHibernate.LLUUIDString, OpenSim.Data.NHibernate" /> |
12 | <property name="Creator" type="OpenSim.Data.NHibernate.LLUUIDString, OpenSim.Data.NHibernate" /> | 12 | <property name="Creator" type="OpenSim.Data.NHibernate.LLUUIDString, OpenSim.Data.NHibernate" /> |
13 | <property name="Name" type="String" length="64" /> | 13 | <property name="Name" type="String" length="64" /> |
14 | <property name="Description" type="String" length="64" /> | 14 | <property name="Description" type="String" length="64" /> |
15 | <property name="NextPermissions" type="uint" /> | 15 | <property name="NextPermissions" type="UInt32" /> |
16 | <property name="CurrentPermissions" type="uint" /> | 16 | <property name="CurrentPermissions" type="UInt32" /> |
17 | <property name="BasePermissions" type="uint" /> | 17 | <property name="BasePermissions" type="UInt32" /> |
18 | <property name="EveryOnePermissions" type="uint" /> | 18 | <property name="EveryOnePermissions" type="UInt32" /> |
19 | </class> | 19 | </class> |
20 | </hibernate-mapping> \ No newline at end of file | 20 | </hibernate-mapping> \ No newline at end of file |