images


Columns

Column Type Size Nulls Auto Default Children Parents Comments
id INT 10 null
image_to_tags.image_id image_to_tag_ibfk_image C
projects.image_id projects_ibfk_1 N
storysteps.image_id storysteps_ibfk_2 N

Primary id for this table. This uniquely identifies the row.

imagetype_id INT 10 0
imagetypes.id images_ibfk_1 C

Foreign key to imagetypes (imagetypes.id).

description MEDIUMTEXT 16777215 null

A description of what the image shows if required.

foreign_id INT 10 0

Relates to the UID of the table to which the comment relates.

path MEDIUMTEXT 16777215 null

The file system path to the image.

exif JSON 1073741824 null
is_reference BIT 1 0
created_on DATETIME 19 CURRENT_TIMESTAMP

When the record was created.

updated_on TIMESTAMP 19 CURRENT_TIMESTAMP

When the record was updated. This may be different from the created on date if subsequent changes have been made to the underlying record.

Indexes

Constraint Name Type Sort Column(s)
PRIMARY Primary key Asc id
imagetype_foreign_id Performance Asc foreign_id
imagetype_id Performance Asc imagetype_id

Relationships