Columns
Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | ||
---|---|---|---|---|---|---|---|---|---|---|
zone_id | int4 | 10 | null |
|
|
Zone Id of a device_ports record. It maps to zone.id |
||||
device_id | int4 | 10 | null |
|
|
Id of a device this record belongs to. It maps to device.id |
||||
open | _int4 | 10 | √ | null |
|
|
List of all ports that are reported open for a device. Please see table description for more information. |
|||
closed | _int4 | 10 | √ | null |
|
|
List of all ports that are reported closed for a device. Please see table description for more information. |
|||
open_times | hstore | 2147483647 | √ | null |
|
|
Key value pairs with port number and timestamp when port was reported open. Sample values - "80"=>"25048454", "135"=>"25048454" |
|||
closed_times | hstore | 2147483647 | √ | null |
|
|
Key value pairs with port number and timestamp when port was reported closed. Sample values - "21"=>"25048310", "23"=>"25048310", "25"=>"25048310"≠ |
Table contained 0 rows
Indexes
Constraint Name | Type | Sort | Column(s) |
---|---|---|---|
pk_device_ports | Primary key | Asc | device_id |