Difference between revisions of "Public.location specific status changes (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 23: Line 23:
 
| not null
 
| not null
 
|  
 
|  
| location_specific_status_changes_pkey
 
 
|  
 
|  
 
|-
 
|-
Line 31: Line 30:
 
|  
 
|  
 
|  
 
|  
| location_specific_status_changes_locationmonitorid_ifserviceidlocation_specific_status_changes_locationmonitoridlocation_specific_status_changes_locationmonitorid_loc_if_time
 
 
|-
 
|-
 
| ifserviceid
 
| ifserviceid
Line 38: Line 36:
 
|  
 
|  
 
|  
 
|  
| location_specific_status_changes_locationmonitorid_ifserviceidlocation_specific_status_changes_ifserviceidlocation_specific_status_changes_locationmonitorid_loc_if_time
 
 
|-
 
|-
 
| statuscode
 
| statuscode
 
| integer
 
| integer
 
| not null
 
| not null
|
 
 
|  
 
|  
 
|  
 
|  
Line 52: Line 48:
 
|  
 
|  
 
|  
 
|  
| location_specific_status_changes_statustimelocation_specific_status_changes_locationmonitorid_loc_if_time
 
 
|-
 
|-
 
| statusreason
 
| statusreason
 
| varchar(255)
 
| varchar(255)
 
| null
 
| null
|
 
 
|  
 
|  
 
|  
 
|  
Line 64: Line 58:
 
| double precision
 
| double precision
 
| null
 
| null
|
 
 
|  
 
|  
 
|  
 
|  
 
|}
 
|}
  
 +
=== Primary Key ===
 +
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse"
 +
|- style="background:silver"
 +
| '''Primary Key
 +
| '''Columns
 +
|-
 +
| location_specific_status_changes_pkey
 +
| id
 +
|}
  
 +
=== Indexes ===
 +
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse"
 +
|- style="background:silver"
 +
| '''Index
 +
| '''Type
 +
| '''Columns
 +
 +
|-
 +
| location_specific_status_changes_statustime
 +
|
 +
| statustime
 +
|-
 +
| location_specific_status_changes_locationmonitorid_ifserviceid
 +
|
 +
| locationmonitorid, ifserviceid
 +
|-
 +
| location_specific_status_changes_locationmonitorid
 +
|
 +
| locationmonitorid
 +
|-
 +
| location_specific_status_changes_ifserviceid
 +
|
 +
| ifserviceid
 +
|-
 +
| location_specific_status_changes_locationmonitorid_loc_if_time
 +
|
 +
| locationmonitorid, ifserviceid, statustime
 +
|}
  
 +
=== 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 09:32, 11 February 2010

wikibot

Table public.location_specific_status_changes


Columns

Column Data Type Nullable Default Description
id integer not null
locationmonitorid integer not null
ifserviceid integer not null
statuscode integer not null
statustime timestamp with time zone not null
statusreason varchar(255) null
responsetime double precision null

Primary Key

Primary Key Columns
location_specific_status_changes_pkey id

Indexes

Index Type Columns
location_specific_status_changes_statustime statustime
location_specific_status_changes_locationmonitorid_ifserviceid locationmonitorid, ifserviceid
location_specific_status_changes_locationmonitorid locationmonitorid
location_specific_status_changes_ifserviceid ifserviceid
location_specific_status_changes_locationmonitorid_loc_if_time locationmonitorid, ifserviceid, statustime

Foreign Keys

Relation Column Referenced Column
public.ifservices ifserviceid id
public.location_monitors locationmonitorid id