photos


Columns

Column Type Size Nulls Auto Default Children Parents Comments
id INT UNSIGNED 10 null
contact_photo.photo_id contact_photo_photo_id_foreign C
contacts.avatar_photo_id contacts_avatar_photo_id_foreign N
gift_photo.photo_id gift_photo_photo_id_foreign C
uuid CHAR 36 null
account_id INT UNSIGNED 10 null
accounts.id photos_account_id_foreign C
original_filename VARCHAR 255 null
new_filename VARCHAR 255 null
filesize INT 10 null
mime_type VARCHAR 255 null
created_at TIMESTAMP 19 null
updated_at TIMESTAMP 19 null

Indexes

Constraint Name Type Sort Column(s)
PRIMARY Primary key Asc id
photos_account_id_uuid_index Performance Asc/Asc account_id + uuid

Relationships