This table holds the metadata for the attachment
asset in the attachment target.
Column Descriptions:
Name | Type | Description |
ATCHAST_ID | BIGINT NOT NULL | The primary key for the attachment asset. |
STOREENT_ID | INTEGER NOT NULL DEFAULT 0 | The store entity ID that owns the attachment
asset. |
ATCHTGT_ID | BIGINT NOT NULL | The attachment target to which the attachment
asset belongs. |
ATCHASTPATH | VARCHAR (256) | The attachment asset path is the relative path of
the attachment asset which includes the directory path and the file
name of the attachment asset. For example, /image/a.gif |
DIRECTORYPATH | VARCHAR (128) | The directory path of the attachment asset. This
is a substring of the attachment asset path when the attachment
asset is a file. For example, if the attachment asset path is
/image/a.gif, then its directory path is /image. |
MIMETYPE | VARCHAR (254) | The MIME type of the attachment asset. If the
attachment asset is an image file, for example, a.gif, then the
MIME type will be image/gif. If the attachment asset is an URL,
then the MIME type will be an empty string. |
MIMETYPEENCODING | VARCHAR (128) | The MIME type encoding of the attachment
asset. |
TIMECREATED | TIMESTAMP | The creation time of the attachment asset. |
TIMEUPDATED | TIMESTAMP | The most recent update time for the attachment
asset. |
IMAGE1 | VARCHAR (254) | Image 1 to represent the attachment asset. |
IMAGE2 | VARCHAR (254) | Image 2 to represent the attachment asset. |
UP_ATCHASTPATH | VARCHAR (256) | The equivalent value of the ATCHASTPATH column in
upper case characters. This column is used only for DB2 (LUW)
database-types to enhance performance of text-based searches issued
from Management Center. |
OPTCOUNTER | SMALLINT NOT NULL DEFAULT 0 | The optimistic concurrency control counter for
the table. Every time there is an update to the table, the counter
is incremented. |
Indexes:
Name | Column Names | Type |
<SYSTEM-GENERATED> | ATCHAST_ID | Primary Key |
I0000856 | STOREENT_ID+ATCHTGT_ID+ATCHASTPATH | Unique Index |
I0000857 | STOREENT_ID+DIRECTORYPATH | Non-Unique Index |
I0000867 | STOREENT_ID | Non-Unique Index |
I0000868 | ATCHTGT_ID | Non-Unique Index |
IPF00017 | UP_ATCHASTPATH | Non-Unique Index |
Constrained By Parent Tables:
Constraint | Columns | Parent Table | Parent Columns | Type |
F_1107 | STOREENT_ID | STOREENT | STOREENT_ID | Cascade |
F_1108 | ATCHTGT_ID | ATCHTGT | ATCHTGT_ID | Cascade |
Referenced By Child Tables:
Constraint | Columns | Child Table | Child Columns | Type |
F_1111 | ATCHAST_ID | ATCHASTLG | ATCHAST_ID | Cascade |