Columns
Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
---|---|---|---|---|---|---|---|---|---|---|---|
equipment_guid | uuid | 2147483647 | case_management.uuid_generate_v4() |
|
|
System generated unique key for a piece of equipment. This key should never be exposed to users via any system utilizing the tables. |
|||||
equipment_code | varchar | 10 | √ | null |
|
|
A human readable code used to identify a piece of equipment |
||||
equipment_location_desc | varchar | 120 | √ | null |
|
|
Free form text describing the location of the equipment. Usually (but not always) an address. |
||||
equipment_geometry_point | geometry | 2147483647 | √ | null |
|
|
The closest approximation to where the equipment is deployed. Stored as a geometric point using the EPSG:3005 Projected Coordinate System (BC Albers) |
||||
active_ind | bool | 1 | null |
|
|
A boolean indicator to determine if the equipment record is active and should be displayed in the application. |
|||||
create_user_id | varchar | 32 | null |
|
|
The id of the user that created the equipment record. |
|||||
create_utc_timestamp | timestamp | 29,6 | null |
|
|
The timestamp when the equipment record was created. The timestamp is stored in UTC with no Offset. |
|||||
update_user_id | varchar | 32 | null |
|
|
The id of the user that updated the equipment record. |
|||||
update_utc_timestamp | timestamp | 29,6 | null |
|
|
The timestamp when the equipment record was updated. The timestamp is stored in UTC with no Offset. |
|||||
was_animal_captured | bpchar | 1 | 'U'::bpchar |
|
|
Indicates if an animal was captured by the EQUIPMENT. Values are limited to ‘Y’ (Yes) ‘N’ (No) and ‘U’ (Unknown - Not Specified Yet). The default is ‘U’ |
|||||
quantity | int2 | 5 | √ | null |
|
|
Indicates the number of EQUIPMENT used. Values should be a positive integer or null if not applicable. |
Indexes
Constraint Name | Type | Sort | Column(s) |
---|---|---|---|
PK_equipment_guid | Primary key | Asc | equipment_guid |