Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | ||
|---|---|---|---|---|---|---|---|---|---|---|
| predator_id | serial | 10 | √ | nextval('examples.predator_predator_id_seq'::regclass) |
|
|
||||
| data_source_id | int4 | 10 | null |
|
|
|||||
| institute_id | int4 | 10 | √ | null |
|
|
Institute that undertook survey |
|||
| gear_id | int4 | 10 | √ | null |
|
|
Gear used |
|||
| vessel_id | int4 | 10 | √ | null |
|
|
Vessel used |
|||
| trip_id | int4 | 10 | √ | null |
|
|
Part of trip |
|||
| tow_id | int4 | 10 | √ | null |
|
|
Tow used |
|||
| sampling_type_id | int4 | 10 | √ | null |
|
|
Sampling type |
|||
| year | int4 | 10 | null |
|
|
Year sample was undertaken |
||||
| month | int4 | 10 | null |
|
|
Month sample was undertaken |
||||
| areacell_id | int4 | 10 | √ | null |
|
|
Areacell data relates to |
|||
| stomach_name | varchar | 128 | null |
|
|
Stomach identifier |
||||
| species_id | int8 | 19 | √ | null |
|
|
||||
| age | numeric | 10,5 | √ | null |
|
|
Age (years) |
|||
| sex_id | int4 | 10 | √ | null |
|
|
Sex ID |
|||
| maturity_stage_id | int4 | 10 | √ | null |
|
|
Maturity Stage ID |
|||
| stomach_state_id | int4 | 10 | √ | null |
|
|
Status of stomach when caught |
|||
| length | float4 | 8,8 | √ | null |
|
|
Length of predator |
|||
| weight | float4 | 8,8 | √ | null |
|
|
Weight of predator |
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| predator_pkey | Primary key | Asc | predator_id |
Check Constraints
| Constraint Name | Constraint |
|---|---|
| predator_month_check | (((month >= 1) AND (month <= 12))) |

