Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | ||
|---|---|---|---|---|---|---|---|---|---|---|
| id | serial | 10 | √ | nextval('wagtailimages_image_id_seq'::regclass) |
|
|
||||
| title | varchar | 255 | null |
|
|
|||||
| file | varchar | 100 | null |
|
|
|||||
| width | int4 | 10 | null |
|
|
|||||
| height | int4 | 10 | null |
|
|
|||||
| created_at | timestamptz | 35,6 | null |
|
|
|||||
| focal_point_x | int4 | 10 | √ | null |
|
|
||||
| focal_point_y | int4 | 10 | √ | null |
|
|
||||
| focal_point_width | int4 | 10 | √ | null |
|
|
||||
| focal_point_height | int4 | 10 | √ | null |
|
|
||||
| uploaded_by_user_id | int4 | 10 | √ | null |
|
|
||||
| file_size | int4 | 10 | √ | null |
|
|
||||
| collection_id | int4 | 10 | null |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| wagtailimages_image_pkey | Primary key | Asc | id |
| wagtailimages_image_0a1a4dd8 | Performance | Asc | collection_id |
| wagtailimages_image_created_at_86fa6cd4_uniq | Performance | Asc | created_at |
| wagtailimages_image_ef01e2b6 | Performance | Asc | uploaded_by_user_id |
Check Constraints
| Constraint Name | Constraint |
|---|---|
| wagtailimages_image_focal_point_height_check | ((focal_point_height >= 0)) |
| wagtailimages_image_focal_point_x_check | ((focal_point_x >= 0)) |
| wagtailimages_image_focal_point_y_check | ((focal_point_y >= 0)) |
| wagtailimages_image_focal_point_width_check | ((focal_point_width >= 0)) |
| wagtailimages_image_file_size_check | ((file_size >= 0)) |

