Difference between revisions of "Public.inventory (table)"

From dbscript Online Help
Jump to: navigation, search
Line 9: Line 9:
  
  
 +
=== Columns ===
 
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse"
 
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse"
 
|- style="background:silver"
 
|- style="background:silver"
Line 15: Line 16:
 
| '''Nullable
 
| '''Nullable
 
| '''Default
 
| '''Default
| '''PK
+
| '''Description
| '''Index
 
 
 
 
|-
 
|-
Line 24: Line 24:
 
|  
 
|  
 
|  
 
|  
| inventory_nodeid_idxinventory_nodeid_name_idx
 
 
|-
 
|-
 
| name
 
| name
Line 31: Line 30:
 
|  
 
|  
 
|  
 
|  
| inventory_nodeid_name_idx
 
 
|-
 
|-
 
| createtime
 
| createtime
 
| timestamp without time zone
 
| timestamp without time zone
 
| not null
 
| not null
|
 
 
|  
 
|  
 
|  
 
|  
Line 45: Line 42:
 
|  
 
|  
 
|  
 
|  
| inventory_lastpolltime_idx
 
 
|-
 
|-
 
| pathtofile
 
| pathtofile
 
| varchar(256)
 
| varchar(256)
 
| not null
 
| not null
|
 
 
|  
 
|  
 
|  
 
|  
Line 59: Line 54:
 
|  
 
|  
 
|  
 
|  
 +
|}
 +
 +
=== Indexes ===
 +
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse"
 +
|- style="background:silver"
 +
| '''Index
 +
| '''Type
 +
| '''Columns
 +
 +
|-
 +
| inventory_lastpolltime_idx
 +
|
 +
| lastpolltime
 +
|-
 +
| inventory_nodeid_idx
 +
|
 +
| nodeid
 +
|-
 +
| inventory_nodeid_name_idx
 +
|
 +
| nodeid, name
 +
|-
 
| inventory_status_idx
 
| inventory_status_idx
 +
|
 +
| status
 
|}
 
|}
  
 
+
=== Foreign Keys ===
 
 
 
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse"
 
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse"
 
|- style="background:silver"
 
|- style="background:silver"

Revision as of 08:31, 11 February 2010

wikibot

Table public.inventory


Columns

Column Data Type Nullable Default Description
nodeid integer not null
name varchar(30) not null
createtime timestamp without time zone not null
lastpolltime timestamp without time zone not null
pathtofile varchar(256) not null
status char(1) not null

Indexes

Index Type Columns
inventory_lastpolltime_idx lastpolltime
inventory_nodeid_idx nodeid
inventory_nodeid_name_idx nodeid, name
inventory_status_idx status

Foreign Keys

Relation Column Referenced Column
public.node nodeid nodeid