Table Name: | dt_resource |
Table Number: | 4660 |
Group: | Dovetail |
Description: | Agent resource. Usually this is a file saved in an external store such as S3. Agent will know how to translate the uri into a public facing URL for users. |
Flags: | |
Baseline/Custom: | Custom |
Field Name | Common Type | Database Type | Generic Field ID | Array Size | Default | Flags | Comment | Field Used in Views |
---|---|---|---|---|---|---|---|---|
content_type | CHAR | varchar | 255 | USER_DEFINED | Internet media type of the resource. This value should be used to populate the HTTP header Content-Type when serving this resource. | |||
filename | CHAR | varchar | 512 | USER_DEFINED | File name of the resource. This file name should be used to populate the HTTP Header Content-Disposition when serving the resource. | |||
filepath | CHAR | varchar | 512 | USER_DEFINED | Full path to the resource. | |||
objid | LONG | int | 3 | USER_DEFINED | Internal record number | |||
resource_key | CHAR | varchar | 512 | USER_DEFINED | Content key of this resource | |||
store_uri | CHAR | varchar | 1024 | USER_DEFINED | Content URI of this resource. This value will be used to resolve a public facing URL for this resource at run time. (e.g. s3://:bucket/:key -> {public url} ) |
Relation | Type | Target Object | Inverse Relation | Comment | Flags | MTM Table | Used in Views |
---|---|---|---|---|---|---|---|
dt_resource2doc_path | OTOP | doc_path | doc_path2dt_resource | USER_DEFINED | |||
dt_resource2dt_resource_token | OTM | dt_resource_token | dt_resource_token2dt_resource | USER_DEFINED |
Index Name | Fields | Flags |
---|---|---|
resource_id_index | store_uri | UNIQUE |
Index Name | Fields | Additional Information |
---|---|---|
objindex | objid | clustered, unique located on PRIMARY |
resource_id_index | store_uri | nonclustered, unique located on PRIMARY |
View ID | View Name | Tables |
---|
dt_resource | |||