conversations


Columns

Column Type Size Nulls Auto Default Children Parents Comments
id INT UNSIGNED 10 null
messages.conversation_id messages_conversation_id_foreign C
uuid CHAR 36 null
account_id INT UNSIGNED 10 null
accounts.id conversations_account_id_foreign C
contact_id INT UNSIGNED 10 null
contacts.id conversations_contact_id_foreign C
contact_field_type_id INT UNSIGNED 10 null
contact_field_types.id conversations_contact_field_type_id_foreign C
happened_at DATETIME 19 null
created_at TIMESTAMP 19 null
updated_at TIMESTAMP 19 null

Indexes

Constraint Name Type Sort Column(s)
PRIMARY Primary key Asc id
conversations_account_id_uuid_index Performance Asc/Asc account_id + uuid
conversations_contact_field_type_id_foreign Performance Asc contact_field_type_id
conversations_contact_id_foreign Performance Asc contact_id

Relationships