Columns
| Column | Type | Size | Nulls | Auto | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|
| site_site_type_id | int4 | 10 | √ |
|
|
Primary key (automatically incremented). |
||||
| site_id | int4 | 10 |
|
|
Identifies the site associated with this site type. |
|||||
| site_type_id | int4 | 10 |
|
|
Identifies the site type assigned to this site. |
|||||
| is_primary_type | bool | 1 |
|
|
Indicates whether this is the primary site type assigned to the site. |
|||||
| confidence_code | int2 | 5 | √ |
|
|
Optional confidence rating for the site type assignment: 1=high, 2=medium, 3=low. |
||||
| notes | text | 2147483647 | √ |
|
|
Additional notes about assigning this site type to the site. |
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| tbl_site_site_types_pkey | Primary key | Asc | site_site_type_id |
| uq_site_type_per_site | Must be unique | Asc/Asc | site_id + site_type_id |

