| Table: Attachment | |||
| Associates attachments to an item. | |||
| Columns | |||
| Name | Type | Constraints | Description |
| create__changeset_KEY | int | NOT NULL | |
| update__changeset_KEY | int | NOT NULL | |
| row_KEY | int | NOT NULL | Which row in the table indicated by [table_information_KEY]. |
| table_information_KEY | int | NOT NULL | Which table is the row indicated by row_KEY in. |
| attachment_content_KEY | int | NOT NULL | What is the content of the associated attachment. |
| attachment_name | nvarchar (260) | NOT NULL | The name of a particular attachment. This is usually the file name of the source file. |
| attachment_comment | nvarchar (-1) | NOT NULL | |
| Primary key | |||
| Name | Columns | Description | |
| PK_Attachment$row_KEY$table_information_KEY$attachment_content_KEY | row_KEY, table_information_KEY, attachment_content_KEY | CLUSTERED | |
| Indexes | |||
| Name | Columns | Description | |
| IX_Attachment$attachment_content_KEY | attachment_content_KEY | Index supports foreign key FK_Attachment__Attachment_Content__attachment_content_KEY | |
| IX_Attachment$table_information_KEY | table_information_KEY | Index supports foreign key FK_Attachment__Table_Information__table_information_KEY | |
| Foreign keys | |||
| Name | Columns | Referenced table | Description |
| FK_Attachment__Attachment_Content__attachment_content_KEY | attachment_content_KEY | Attachment_Content | |
| FK_Attachment__Table_Information__table_information_KEY | table_information_KEY | Table_Information | |