Difference between revisions of "Public.location specific status changes (table)"
| (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.location_specific_status_changes | | public.location_specific_status_changes | ||
| − | |||
|} | |} | ||
| − | + | === 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 | ||
| − | | ''' | + | | '''Description |
| − | + | ||
| − | + | |- valign="top" | |
| − | |- | ||
| id | | id | ||
| integer | | integer | ||
| not null | | not null | ||
| | | | ||
| − | |||
| | | | ||
| − | |- | + | |- valign="top" |
| locationmonitorid | | locationmonitorid | ||
| integer | | integer | ||
| Line 31: | Line 28: | ||
| | | | ||
| | | | ||
| − | + | |- valign="top" | |
| − | |- | ||
| ifserviceid | | ifserviceid | ||
| integer | | integer | ||
| Line 38: | Line 34: | ||
| | | | ||
| | | | ||
| − | + | |- valign="top" | |
| − | |- | ||
| statuscode | | statuscode | ||
| integer | | integer | ||
| Line 45: | Line 40: | ||
| | | | ||
| | | | ||
| − | + | |- valign="top" | |
| − | |- | ||
| statustime | | statustime | ||
| timestamp with time zone | | timestamp with time zone | ||
| Line 52: | Line 46: | ||
| | | | ||
| | | | ||
| − | + | |- valign="top" | |
| − | |- | ||
| statusreason | | statusreason | ||
| varchar(255) | | varchar(255) | ||
| Line 59: | Line 52: | ||
| | | | ||
| | | | ||
| − | + | |- valign="top" | |
| − | |- | ||
| responsetime | | responsetime | ||
| double precision | | double precision | ||
| Line 66: | Line 58: | ||
| | | | ||
| | | | ||
| − | |||
|} | |} | ||
| + | === Primary Key === | ||
| + | {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | ||
| + | |- style="background:silver" | ||
| + | | '''Primary Key | ||
| + | | '''Columns | ||
| + | |- valign="top" | ||
| + | | location_specific_status_changes_pkey | ||
| + | | id | ||
| + | |} | ||
| + | |||
| + | === Indexes === | ||
| + | {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | ||
| + | |- style="background:silver" | ||
| + | | '''Index | ||
| + | | '''Type | ||
| + | | '''Columns | ||
| + | |- valign="top" | ||
| + | | location_specific_status_changes_ifserviceid | ||
| + | | | ||
| + | | ifserviceid | ||
| + | |- valign="top" | ||
| + | | location_specific_status_changes_locationmonitorid | ||
| + | | | ||
| + | | locationmonitorid | ||
| + | |- valign="top" | ||
| + | | location_specific_status_changes_locationmonitorid_ifserviceid | ||
| + | | | ||
| + | | locationmonitorid, ifserviceid | ||
| + | |- valign="top" | ||
| + | | location_specific_status_changes_locationmonitorid_loc_if_time | ||
| + | | | ||
| + | | locationmonitorid, ifserviceid, statustime | ||
| + | |- valign="top" | ||
| + | | location_specific_status_changes_statustime | ||
| + | | | ||
| + | | 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" | ||
| Line 76: | Line 105: | ||
| '''Column | | '''Column | ||
| '''Referenced Column | | '''Referenced Column | ||
| − | + | ||
| − | |- | + | |- valign="top" |
| [[public.ifservices_(table)|public.ifservices]] | | [[public.ifservices_(table)|public.ifservices]] | ||
| ifserviceid | | ifserviceid | ||
| id | | id | ||
| − | |- | + | |- valign="top" |
| [[public.location_monitors_(table)|public.location_monitors]] | | [[public.location_monitors_(table)|public.location_monitors]] | ||
| locationmonitorid | | locationmonitorid | ||
| id | | id | ||
|} | |} | ||
Latest revision as of 10:09, 27 August 2011
wikibot[edit]
| Table | public.location_specific_status_changes |
Columns[edit]
| 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[edit]
| Primary Key | Columns |
| location_specific_status_changes_pkey | id |
Indexes[edit]
| Index | Type | Columns |
| location_specific_status_changes_ifserviceid | ifserviceid | |
| location_specific_status_changes_locationmonitorid | locationmonitorid | |
| location_specific_status_changes_locationmonitorid_ifserviceid | locationmonitorid, ifserviceid | |
| location_specific_status_changes_locationmonitorid_loc_if_time | locationmonitorid, ifserviceid, statustime | |
| location_specific_status_changes_statustime | statustime |
Foreign Keys[edit]
| Relation | Column | Referenced Column |
| public.ifservices | ifserviceid | id |
| public.location_monitors | locationmonitorid | id |