diff --git a/packages/attachments/README.md b/packages/attachments/README.md index 2ed7d8199..44281a9a1 100644 --- a/packages/attachments/README.md +++ b/packages/attachments/README.md @@ -118,6 +118,8 @@ In addition to `Table` options, the `AttachmentTable` can optionally be configur | `name` | The name of the table | `attachments` | | `additionalColumns` | An array of addition `Column` objects added to the default columns in the table | See below for default columns | +If you decided to name the attachments table something other than `attachments` using the `AttachmentTable.name` property then you must also set `attachmentDirectoryName` to the same name when creating an instance of the `AttachmentQueue` + The default columns in `AttachmentTable`: | Column Name | Type | Description | diff --git a/packages/attachments/src/AbstractAttachmentQueue.ts b/packages/attachments/src/AbstractAttachmentQueue.ts index 8e5dd6582..ef9ee10e7 100644 --- a/packages/attachments/src/AbstractAttachmentQueue.ts +++ b/packages/attachments/src/AbstractAttachmentQueue.ts @@ -90,7 +90,7 @@ export abstract class AbstractAttachmentQueue