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

From dbscript Online Help
Jump to: navigation, search
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.assets
 
| public.assets
|-
 
 
|}
 
|}
 
  
 
=== Columns ===
 
=== Columns ===
Line 17: Line 15:
 
| '''Default
 
| '''Default
 
| '''Description
 
| '''Description
+
 
|-
+
|- valign="top"
 
| id
 
| id
 
| integer
 
| integer
Line 24: Line 22:
 
| nextval('opennmsnxtid'::regclass)
 
| nextval('opennmsnxtid'::regclass)
 
|  
 
|  
|-
+
|- valign="top"
 
| nodeid
 
| nodeid
 
| integer
 
| integer
Line 30: Line 28:
 
|  
 
|  
 
|  
 
|  
|-
+
|- valign="top"
 
| category
 
| category
 
| varchar(64)
 
| varchar(64)
Line 36: Line 34:
 
|  
 
|  
 
|  
 
|  
|-
+
|- valign="top"
 
| manufacturer
 
| manufacturer
 
| varchar(64)
 
| varchar(64)
Line 42: Line 40:
 
|  
 
|  
 
|  
 
|  
|-
+
|- valign="top"
 
| vendor
 
| vendor
 
| varchar(64)
 
| varchar(64)
Line 48: Line 46:
 
|  
 
|  
 
|  
 
|  
|-
+
|- valign="top"
 
| modelnumber
 
| modelnumber
 
| varchar(64)
 
| varchar(64)
Line 54: Line 52:
 
|  
 
|  
 
|  
 
|  
|-
+
|- valign="top"
 
| serialnumber
 
| serialnumber
 
| varchar(64)
 
| varchar(64)
Line 60: Line 58:
 
|  
 
|  
 
|  
 
|  
|-
+
|- valign="top"
 
| description
 
| description
 
| varchar(128)
 
| varchar(128)
Line 66: Line 64:
 
|  
 
|  
 
|  
 
|  
|-
+
|- valign="top"
 
| circuitid
 
| circuitid
 
| varchar(64)
 
| varchar(64)
Line 72: Line 70:
 
|  
 
|  
 
|  
 
|  
|-
+
|- valign="top"
 
| assetnumber
 
| assetnumber
 
| varchar(64)
 
| varchar(64)
Line 78: Line 76:
 
|  
 
|  
 
|  
 
|  
|-
+
|- valign="top"
 
| operatingsystem
 
| operatingsystem
 
| varchar(64)
 
| varchar(64)
Line 84: Line 82:
 
|  
 
|  
 
|  
 
|  
|-
+
|- valign="top"
 
| rack
 
| rack
 
| varchar(64)
 
| varchar(64)
Line 90: Line 88:
 
|  
 
|  
 
|  
 
|  
|-
+
|- valign="top"
 
| slot
 
| slot
 
| varchar(64)
 
| varchar(64)
Line 96: Line 94:
 
|  
 
|  
 
|  
 
|  
|-
+
|- valign="top"
 
| port
 
| port
 
| varchar(64)
 
| varchar(64)
Line 102: Line 100:
 
|  
 
|  
 
|  
 
|  
|-
+
|- valign="top"
 
| region
 
| region
 
| varchar(64)
 
| varchar(64)
Line 108: Line 106:
 
|  
 
|  
 
|  
 
|  
|-
+
|- valign="top"
 
| division
 
| division
 
| varchar(64)
 
| varchar(64)
Line 114: Line 112:
 
|  
 
|  
 
|  
 
|  
|-
+
|- valign="top"
 
| department
 
| department
 
| varchar(64)
 
| varchar(64)
Line 120: Line 118:
 
|  
 
|  
 
|  
 
|  
|-
+
|- valign="top"
 
| address1
 
| address1
 
| varchar(256)
 
| varchar(256)
Line 126: Line 124:
 
|  
 
|  
 
|  
 
|  
|-
+
|- valign="top"
 
| address2
 
| address2
 
| varchar(256)
 
| varchar(256)
Line 132: Line 130:
 
|  
 
|  
 
|  
 
|  
|-
+
|- valign="top"
 
| city
 
| city
 
| varchar(64)
 
| varchar(64)
Line 138: Line 136:
 
|  
 
|  
 
|  
 
|  
|-
+
|- valign="top"
 
| state
 
| state
 
| varchar(64)
 
| varchar(64)
Line 144: Line 142:
 
|  
 
|  
 
|  
 
|  
|-
+
|- valign="top"
 
| zip
 
| zip
 
| varchar(64)
 
| varchar(64)
Line 150: Line 148:
 
|  
 
|  
 
|  
 
|  
|-
+
|- valign="top"
 
| building
 
| building
 
| varchar(64)
 
| varchar(64)
Line 156: Line 154:
 
|  
 
|  
 
|  
 
|  
|-
+
|- valign="top"
 
| floor
 
| floor
 
| varchar(64)
 
| varchar(64)
Line 162: Line 160:
 
|  
 
|  
 
|  
 
|  
|-
+
|- valign="top"
 
| room
 
| room
 
| varchar(64)
 
| varchar(64)
Line 168: Line 166:
 
|  
 
|  
 
|  
 
|  
|-
+
|- valign="top"
 
| vendorphone
 
| vendorphone
 
| varchar(64)
 
| varchar(64)
Line 174: Line 172:
 
|  
 
|  
 
|  
 
|  
|-
+
|- valign="top"
 
| vendorfax
 
| vendorfax
 
| varchar(64)
 
| varchar(64)
Line 180: Line 178:
 
|  
 
|  
 
|  
 
|  
|-
+
|- valign="top"
 
| vendorassetnumber
 
| vendorassetnumber
 
| varchar(64)
 
| varchar(64)
Line 186: Line 184:
 
|  
 
|  
 
|  
 
|  
|-
+
|- valign="top"
 
| userlastmodified
 
| userlastmodified
 
| char(20)
 
| char(20)
Line 192: Line 190:
 
|  
 
|  
 
|  
 
|  
|-
+
|- valign="top"
 
| lastmodifieddate
 
| lastmodifieddate
 
| timestamp with time zone
 
| timestamp with time zone
Line 198: Line 196:
 
|  
 
|  
 
|  
 
|  
|-
+
|- valign="top"
 
| dateinstalled
 
| dateinstalled
 
| varchar(64)
 
| varchar(64)
Line 204: Line 202:
 
|  
 
|  
 
|  
 
|  
|-
+
|- valign="top"
 
| lease
 
| lease
 
| varchar(64)
 
| varchar(64)
Line 210: Line 208:
 
|  
 
|  
 
|  
 
|  
|-
+
|- valign="top"
 
| leaseexpires
 
| leaseexpires
 
| varchar(64)
 
| varchar(64)
Line 216: Line 214:
 
|  
 
|  
 
|  
 
|  
|-
+
|- valign="top"
 
| supportphone
 
| supportphone
 
| varchar(64)
 
| varchar(64)
Line 222: Line 220:
 
|  
 
|  
 
|  
 
|  
|-
+
|- valign="top"
 
| maintcontract
 
| maintcontract
 
| varchar(64)
 
| varchar(64)
Line 228: Line 226:
 
|  
 
|  
 
|  
 
|  
|-
+
|- valign="top"
 
| maintcontractexpires
 
| maintcontractexpires
 
| varchar(64)
 
| varchar(64)
Line 234: Line 232:
 
|  
 
|  
 
|  
 
|  
|-
+
|- valign="top"
 
| displaycategory
 
| displaycategory
 
| varchar(64)
 
| varchar(64)
Line 240: Line 238:
 
|  
 
|  
 
|  
 
|  
|-
+
|- valign="top"
 
| notifycategory
 
| notifycategory
 
| varchar(64)
 
| varchar(64)
Line 246: Line 244:
 
|  
 
|  
 
|  
 
|  
|-
+
|- valign="top"
 
| pollercategory
 
| pollercategory
 
| varchar(64)
 
| varchar(64)
Line 252: Line 250:
 
|  
 
|  
 
|  
 
|  
|-
+
|- valign="top"
 
| thresholdcategory
 
| thresholdcategory
 
| varchar(64)
 
| varchar(64)
Line 258: Line 256:
 
|  
 
|  
 
|  
 
|  
|-
+
|- valign="top"
 
| comment
 
| comment
 
| text
 
| text
Line 264: Line 262:
 
|  
 
|  
 
|  
 
|  
|-
+
|- valign="top"
 
| managedobjectinstance
 
| managedobjectinstance
 
| varchar(512)
 
| varchar(512)
Line 270: Line 268:
 
|  
 
|  
 
|  
 
|  
|-
+
|- valign="top"
 
| managedobjecttype
 
| managedobjecttype
 
| varchar(512)
 
| varchar(512)
Line 283: Line 281:
 
| '''Primary Key
 
| '''Primary Key
 
| '''Columns
 
| '''Columns
|-
+
|- valign="top"
 
| pk_assetid
 
| pk_assetid
 
| id
 
| id
Line 294: Line 292:
 
| '''Type
 
| '''Type
 
| '''Columns
 
| '''Columns
+
 
|-
+
|- valign="top"
 
| assets_nodeid_idx
 
| assets_nodeid_idx
 
|  
 
|  
 
| nodeid
 
| nodeid
|-
+
|- valign="top"
 
| assets_an_idx
 
| assets_an_idx
 
|  
 
|  
Line 311: Line 309:
 
| '''Column
 
| '''Column
 
| '''Referenced Column
 
| '''Referenced Column
+
 
|-
+
|- valign="top"
 
| [[public.node_(table)|public.node]]
 
| [[public.node_(table)|public.node]]
 
| nodeid
 
| nodeid
 
| nodeid
 
| nodeid
 
|}
 
|}

Revision as of 23:38, 24 June 2010

wikibot

Table public.assets

Columns

Column Data Type Nullable Default Description
id integer not null nextval('opennmsnxtid'::regclass)
nodeid integer null
category varchar(64) not null
manufacturer varchar(64) null
vendor varchar(64) null
modelnumber varchar(64) null
serialnumber varchar(64) null
description varchar(128) null
circuitid varchar(64) null
assetnumber varchar(64) null
operatingsystem varchar(64) null
rack varchar(64) null
slot varchar(64) null
port varchar(64) null
region varchar(64) null
division varchar(64) null
department varchar(64) null
address1 varchar(256) null
address2 varchar(256) null
city varchar(64) null
state varchar(64) null
zip varchar(64) null
building varchar(64) null
floor varchar(64) null
room varchar(64) null
vendorphone varchar(64) null
vendorfax varchar(64) null
vendorassetnumber varchar(64) null
userlastmodified char(20) not null
lastmodifieddate timestamp with time zone not null
dateinstalled varchar(64) null
lease varchar(64) null
leaseexpires varchar(64) null
supportphone varchar(64) null
maintcontract varchar(64) null
maintcontractexpires varchar(64) null
displaycategory varchar(64) null
notifycategory varchar(64) null
pollercategory varchar(64) null
thresholdcategory varchar(64) null
comment text null
managedobjectinstance varchar(512) null
managedobjecttype varchar(512) null

Primary Key

Primary Key Columns
pk_assetid id

Indexes

Index Type Columns
assets_nodeid_idx nodeid
assets_an_idx assetnumber

Foreign Keys

Relation Column Referenced Column
public.node nodeid nodeid