Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | ||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| id | int8 | 19 | √ | null |
|
|
||||||||||||||||||||||||||||||||||||||
| file_name | text | 2147483647 | null |
|
|
|||||||||||||||||||||||||||||||||||||||
| content_type | text | 2147483647 | null |
|
|
|||||||||||||||||||||||||||||||||||||||
| size | int8 | 19 | null |
|
|
|||||||||||||||||||||||||||||||||||||||
| created_time | timestamptz | 35,6 | null |
|
|
|||||||||||||||||||||||||||||||||||||||
| modified_time | timestamptz | 35,6 | null |
|
|
|||||||||||||||||||||||||||||||||||||||
| created_by | int8 | 19 | √ | null |
|
|
||||||||||||||||||||||||||||||||||||||
| storage_url | text | 2147483647 | null |
|
|
|||||||||||||||||||||||||||||||||||||||
| modified_by | int8 | 19 | null |
|
|
|||||||||||||||||||||||||||||||||||||||
| captured_local_time | timestamp | 29,6 | √ | null |
|
|
If applicable, the date and time in the local time zone of wherever the file’s data was captured. For example, the time a photo was taken. This may differ from |
|||||||||||||||||||||||||||||||||||||
| geolocation | geometry | 2147483647 | √ | null |
|
|
If applicable, the location where the file was created. For photos, typically extracted from EXIF metadata. |
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| photos_pkey | Primary key | Asc | id |
| photos_storage_url_key | Must be unique | Asc | storage_url |
Check Constraints
| Constraint Name | Constraint |
|---|---|
| content_type_cannot_be_empty_string | (length(content_type) > 0) |
| file_name_cannot_be_empty_string | (length(file_name) > 0) |