Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| id | serial | 10 | √ | nextval('gobs.document_id_seq'::regclass) |
|
|
ID |
||||
| do_uid | uuid | 2147483647 | uuid_generate_v4() |
|
|
Document uid: autogenerated unique identifier |
|||||
| do_label | text | 2147483647 | null |
|
|
Label of the document, used for display. Must be unique |
|||||
| do_description | text | 2147483647 | √ | null |
|
|
Description of the document |
||||
| do_type | text | 2147483647 | null |
|
|
Type of the document |
|||||
| do_path | text | 2147483647 | null |
|
|
Relative path of the document to the project storage. Ex: media/indicator/documents/indicator_weather_status_description.pdf |
|||||
| fk_id_indicator | int4 | 10 | √ | null |
|
|
Indicator id |
||||
| created_at | timestamp | 29,6 | now() |
|
|
Creation timestamp |
|||||
| updated_at | timestamp | 29,6 | now() |
|
|
Last updated timestamp |
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| document_pkey | Primary key | Asc | id |
| document_do_label_key | Must be unique | Asc/Asc | do_label + fk_id_indicator |

