images


Columns

Column Type Size Nulls Auto Default Children Parents Comments
id INT 10 null

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

imagetype_id INT 10 0
imagetypes.id images_ibfk_1C

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.

created_on DATETIME 26 CURRENT_TIMESTAMP

When the record was created.

updated_on TIMESTAMP 26 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