Database:Assets

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
(update type info with numbers taken from elsewhere on the wiki)
m (Removed 'Template:' prefix from template includings and/or changed external-link into internal-link)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
{{Template:Quicklinks}}
+
{{Quicklinks}}
  
 
'''assets''' ''Records all assets''&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(back to [[Database Documentation]])<br>
 
'''assets''' ''Records all assets''&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(back to [[Database Documentation]])<br>

Revision as of 07:19, 10 June 2011

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
create_timeint(11)YES0
access_timeint(11)YES0



      (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 type

  • Valid values are (need help checking and filling these in):
    • 0 - Textures
    • 1 - Sound
    • 2 - ??
    • 3 - Landmark
    • 4 - ??
    • 5 - Clothing
    • 6 - Primitive
    • 7 - Note
    • 8 - ??
    • 9 - ??
    • 10 - Script
    • 11 - ??
    • 12 - ??
    • 13 - Body Part
    • 14 - ??
    • 15 - ??
    • 16 - ??
    • 17 - ??
    • 18 - ??
    • 19 - ??
    • 20 - ??
    • 21 - Gesture


local
For Future Use

temporary
For Future Use

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

id
UUID which uniquely identifies the asset within the system

create_time
Date and time the asset was created in standard UNIX format

access_time
Date and time the asset was last used in standard UNIX format



      (back to Database Documentation)

Personal tools
General
About This Wiki