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

From dbscript Online Help
Jump to: navigation, search
(New page: == wikibot == {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" |- | '''Table | public.inventory |- |} {| border="1" cellpadding="5" cellspacing="0" style="...)
 
 
(2 intermediate revisions by the same user not shown)
Line 2: Line 2:
  
 
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse"
 
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse"
|-
+
|- valign="top"
 
| '''Table
 
| '''Table
 
| public.inventory
 
| public.inventory
|-
 
 
|}
 
|}
  
 
+
=== 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 14:
 
| '''Nullable
 
| '''Nullable
 
| '''Default
 
| '''Default
| '''PK
+
| '''Description
| '''Index
+
 
+
|- valign="top"
|-
 
 
| nodeid
 
| nodeid
|  
+
| integer
 
| not null
 
| not null
 
|  
 
|  
 
|  
 
|  
| inventory_nodeid_idxinventory_nodeid_name_idx
+
|- valign="top"
|-
 
 
| name
 
| name
|  
+
| varchar(30)
 
| not null
 
| not null
 
|  
 
|  
 
|  
 
|  
| inventory_nodeid_name_idx
+
|- valign="top"
|-
 
 
| createtime
 
| createtime
|  
+
| timestamp without time zone
 
| not null
 
| not null
 
|  
 
|  
 
|  
 
|  
|
+
|- valign="top"
|-
 
 
| lastpolltime
 
| lastpolltime
|  
+
| timestamp without time zone
 
| not null
 
| not null
 
|  
 
|  
 
|  
 
|  
| inventory_lastpolltime_idx
+
|- valign="top"
|-
 
 
| pathtofile
 
| pathtofile
|  
+
| varchar(256)
 
| not null
 
| not null
 
|  
 
|  
 
|  
 
|  
|
+
|- valign="top"
|-
 
 
| status
 
| status
|  
+
| char(1)
 
| not null
 
| not null
 
|  
 
|  
 
|  
 
|  
| inventory_status_idx
 
 
|}
 
|}
  
 +
=== Indexes ===
 +
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse"
 +
|- style="background:silver"
 +
| '''Index
 +
| '''Type
 +
| '''Columns
  
 +
|- valign="top"
 +
| inventory_lastpolltime_idx
 +
|
 +
| lastpolltime
 +
|- valign="top"
 +
| inventory_nodeid_idx
 +
|
 +
| nodeid
 +
|- valign="top"
 +
| inventory_nodeid_name_idx
 +
|
 +
| nodeid, name
 +
|- valign="top"
 +
| 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"
Line 69: Line 85:
 
| '''Column
 
| '''Column
 
| '''Referenced Column
 
| '''Referenced Column
+
 
|-
+
|- valign="top"
 
| [[public.node_(table)|public.node]]
 
| [[public.node_(table)|public.node]]
 
| nodeid
 
| nodeid
 
| nodeid
 
| nodeid
 
|}
 
|}

Latest revision as of 00:38, 25 June 2010

wikibot[edit]

Table public.inventory

Columns[edit]

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[edit]

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

Foreign Keys[edit]

Relation Column Referenced Column
public.node nodeid nodeid