> ## 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.

# reply_template_attachment table

> This table is used to connect attachments to reply templates (many-to-many).

## reply\_template\_attachment Table (278)

This table is used to connect attachments to reply templates (many-to-many).

## Fields

| Name           | Description                                               | Type                                       | Nullable |
| -------------- | --------------------------------------------------------- | ------------------------------------------ | :------: |
| id             | The primary key (auto-incremented)                        | PK                                         |    No    |
| entry\_id      | The id of the reply\_template this entry is connected to. | FK [reply\_template](./reply-template.mdx) |    No    |
| attachment\_id | The id of the attachment this entry is connected to.      | FK [attachment](./attachment.mdx)          |    No    |

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

## Indexes

| Fields         | Types | Description |
| -------------- | ----- | ----------- |
| entry\_id      | FK    | Index       |
| attachment\_id | FK    | Index       |

## Relationships

| Table                               | Description                                                                                                                                                   |
| ----------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [attachment](./attachment)          | This table contains metadata for attachments. The actual attachments are stored directly on disk, with filenames based on the the primary key for this table. |
| [reply\_template](./reply-template) | Templates for automatic and manual replies to emails/sms organized hierachically                                                                              |

## Replication Flags

* None

## Security Flags

* No access control via user's Role.
