Database:Assets
From OpenSimulator
(Difference between revisions)
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> </td></tr> | <tr><td>Name</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>description</td><td>varchar(64)</td><td>NO</td><td></td><td>NULL</td><td></td></tr> | ||
− | <tr><td> | + | <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> | ||
− | ''' | + | '''Type''' |
<br> | <br> | ||
Integer which designates the asset's inventory type | Integer which designates the asset's inventory type |
Revision as of 06: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 | Type | Null | Key | Default | Extra | |
Name | varchar(64) | NO | NULL | |||
description | varchar(64) | NO | NULL | |||
Type | tinyint(4) | NO | NULL | |||
local | tinyint(1) | NO | NULL | |||
temporary | tinyint(1) | NO | NULL | |||
data | longblob | NO | NULL | |||
id | char(36) | NO | PRI | 00000000-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)