Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| rock_id | int8 | 19 | null |
|
|
||||||
| attachment_id | int8 | 19 | √ | null |
|
|
|||||
| image_id | int8 | 19 | √ | null |
|
|
|||||
| link_id | int8 | 19 | √ | null |
|
|
|||||
| sort | int4 | 10 | √ | 1000 |
|
|
|||||
| title | varchar | 100 | √ | NULL::character varying |
|
|
|||||
| title_en | varchar | 100 | √ | NULL::character varying |
|
|
|||||
| remarks | varchar | 255 | √ | NULL::character varying |
|
|
|||||
| is_private | bool | 1 | √ | null |
|
|
|||||
| user_added | varchar | 50 | √ | NULL::character varying |
|
|
|||||
| date_added | timestamptz | 35,6 | √ | null |
|
|
|||||
| user_changed | varchar | 50 | √ | NULL::character varying |
|
|
|||||
| date_changed | timestamptz | 35,6 | √ | null |
|
|
|||||
| id | bigserial | 19 | √ | nextval('rock_image_id_seq'::regclass) |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| idx_750892_primary | Primary key | Asc | id |
| idx_750892_attachment_id | Performance | Asc | attachment_id |
| idx_750892_link_id | Performance | Asc | link_id |
| idx_750892_rock_id | Must be unique | Asc/Asc/Asc | rock_id + attachment_id + link_id |
| idx_750892_sort | Performance | Asc | sort |
| idx_750892_taxon_id | Performance | Asc | rock_id |

