> ## Documentation Index
> Fetch the complete documentation index at: https://superofficeas-bugfix-ty-screen-designer-paradox.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# chat_topic_user table

> This table connected the chat topics with the users (i.e. the membership).

## chat\_topic\_user Table (331)

This table connected the chat topics with the users (i.e. the membership).

## Fields

| Name          | Description                                                  | Type                               | Nullable |
| ------------- | ------------------------------------------------------------ | ---------------------------------- | :------: |
| id            | The primary key (auto-incremented)                           | PK                                 |    No    |
| user\_id      | The reference to the associated user                         | FK [ejuser](./ejuser.mdx)          |    No    |
| topic\_id     | The reference to the associated chat topic.                  | FK [chat\_topic](./chat-topic.mdx) |    No    |
| can\_respond  | True if the user can respond to chats in this topic          | Bool                               |    Yes   |
| notifications | True if the user should receive notifications for this topic | Bool                               |    Yes   |
| can\_listen   | True of a user can listen in on this topic                   | Bool                               |    Yes   |
| manager       | True if the user is a manager for this topic                 | Bool                               |    Yes   |

<img src="https://mintcdn.com/superofficeas-bugfix-ty-screen-designer-paradox/A8Y_bcgEblTh4XOv/media/loc/en/database/tables/chat_topic_user.png?fit=max&auto=format&n=A8Y_bcgEblTh4XOv&q=85&s=29e129ca5e880ebaf45029d69da38274" alt="chat_topic_user table relationship diagram" width="655" height="59" data-path="media/loc/en/database/tables/chat_topic_user.png" />

## Indexes

| Fields    | Types | Description |
| --------- | ----- | ----------- |
| user\_id  | FK    | Index       |
| topic\_id | FK    | Index       |

## Relationships

| Table                       | Description                                              |
| --------------------------- | -------------------------------------------------------- |
| [chat\_topic](./chat-topic) | This table contains chat topics.                         |
| [ejuser](./ejuser)          | This table contains entries for the users of the system. |

## Replication Flags

* None

## Security Flags

* No access control via user's Role.
