Database:Assets

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
m (field is Type, not assetType)
Line 9: Line 9:
 
<tr><td>Name</td><td>varchar(64)</td><td>NO</td><td></td><td>NULL</td><td>&nbsp;</td></tr>
 
<tr><td>Name</td><td>varchar(64)</td><td>NO</td><td></td><td>NULL</td><td>&nbsp;</td></tr>
 
<tr><td>description</td><td>varchar(64)</td><td>NO</td><td></td><td>NULL</td><td></td></tr>
 
<tr><td>description</td><td>varchar(64)</td><td>NO</td><td></td><td>NULL</td><td></td></tr>
<tr><td>assetType</td><td>tinyint(4)</td><td>NO</td><td></td><td>NULL</td><td></td></tr>
+
<tr><td>Type</td><td>tinyint(4)</td><td>NO</td><td></td><td>NULL</td><td></td></tr>
 
<tr><td>local</td><td>tinyint(1)</td><td>NO</td><td></td><td>NULL</td><td></td><td></td><tr>
 
<tr><td>local</td><td>tinyint(1)</td><td>NO</td><td></td><td>NULL</td><td></td><td></td><tr>
 
<tr><td>temporary</td><td>tinyint(1)</td><td>NO</td><td></td><td>NULL</td><td></td><td></td></tr>
 
<tr><td>temporary</td><td>tinyint(1)</td><td>NO</td><td></td><td>NULL</td><td></td><td></td></tr>
Line 27: Line 27:
 
<br>
 
<br>
 
<br>
 
<br>
'''assetType'''
+
'''Type'''
 
<br>
 
<br>
 
Integer which designates the asset's inventory type
 
Integer which designates the asset's inventory type

Revision as of 07:12, 18 February 2009

assets Records all assets      (back to Database Documentation)
          including textures, notecards, scripts, and avatar parts

The current structure of the assets table is as follows:

Field
TypeNullKeyDefaultExtra
 
Namevarchar(64)NONULL 
descriptionvarchar(64)NONULL
Typetinyint(4)NONULL
localtinyint(1)NONULL
temporarytinyint(1)NONULL
datalongblobNONULL
idchar(36)NOPRI00000000-0000-0000-0000-000000000000



      (back to Database Documentation)


name
Name of the asset as it would appear in inventory

description Asset's description field, as it appears in various client-side editing widgets

Type
Integer which designates the asset's inventory type

local
For Future Use

temporary
For Future Use

data This is the blob which contains the actual script, notecard text,
or binary image (texture) or other data characterized by the invType column

id
UUID which uniquely identifies the asset within the system


      (back to Database Documentation)

Personal tools
General
About This Wiki