> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superoffice.com/llms.txt
> Use this file to discover all available pages before exploring further.

# message_customers table

> This table contains all cutomers who are involved in a message

## message\_customers Table (260)

This table contains all cutomers who are involved in a message

## Fields

| Name         | Description                                                                             | Type                               | Nullable |
| ------------ | --------------------------------------------------------------------------------------- | ---------------------------------- | :------: |
| id           | The primary key (auto-incremented)                                                      | PK                                 |    No    |
| message\_id  | The id of the message the customer is involved in                                       | FK [ej\_message](./ej-message.mdx) |    No    |
| customer\_id | The id of the customer who has received this message, or another message in this ticket | FK [person](./person.mdx)          |    No    |
| email        | The email-adresse used in this message                                                  | String(255)                        |    Yes   |

<img src="https://mintcdn.com/superofficeas/6OcOTPa_ISkjXJg4/media/loc/en/database/tables/message_customers.png?fit=max&auto=format&n=6OcOTPa_ISkjXJg4&q=85&s=73f6e9b26f551b10ec74aa53bbc10bae" alt="message_customers table relationship diagram" width="715" height="59" data-path="media/loc/en/database/tables/message_customers.png" />

## Indexes

| Fields       | Types | Description |
| ------------ | ----- | ----------- |
| message\_id  | FK    | Index       |
| customer\_id | FK    | Index       |

## Relationships

| Table                       | Description                                            |
| --------------------------- | ------------------------------------------------------ |
| [ej\_message](./ej-message) | This table contains the messages listed under tickets. |
| [person](./person)          | Persons                                                |

## Replication Flags

* None

## Security Flags

* No access control via user's Role.


## Related topics

- [ej_message table](/en/database/tables/ej-message.md)
- [chat_message table](/en/database/tables/chat-message.md)
- [login_customer table](/en/database/tables/login-customer.md)
- [s_sent_message table](/en/database/tables/s-sent-message.md)
- [Customer Centre](/en/customer-center/overview.md)
- [s_message table](/en/database/tables/s-message.md)
