Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | ||
|---|---|---|---|---|---|---|---|---|---|---|
| id | serial | 10 | √ | nextval('record_files_id_seq'::regclass) |
|
|
||||
| record_id | int4 | 10 | null |
|
|
|||||
| name | text | 2147483647 | null |
|
|
|||||
| checksum | text | 2147483647 | null |
|
|
|||||
| file_extension_id | int4 | 10 | null |
|
|
|||||
| size_bytes | int8 | 19 | null |
|
|
|||||
| general_type | text | 2147483647 | null |
|
|
|||||
| specific_type | text | 2147483647 | null |
|
|
|||||
| created_at | timestamp | 29,6 | now() |
|
|
|||||
| updated_at | timestamp | 29,6 | now() |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| record_files_pkey | Primary key | Asc | id |
Check Constraints
| Constraint Name | Constraint |
|---|---|
| record_files_general_type_check | ((general_type = ANY (ARRAY['image'::text, 'document'::text, 'tabularData'::text, 'dataCube'::text, 'dataCollection'::text, 'metadata'::text]))) |

