3
0
corteza/store/attachments.yaml
2020-08-26 14:49:33 +02:00

34 lines
583 B
YAML

import:
- github.com/cortezaproject/corteza-server/system/types
types:
base: Attachment
fields:
- { field: ID }
- { field: OwnerID }
- { field: Kind }
- { field: Url }
- { field: PreviewUrl }
- { field: Name }
- { field: Meta }
- { field: CreatedAt }
- { field: UpdatedAt }
- { field: DeletedAt }
lookups:
- fields: [ ID ]
description: |-
searches for attachment by its ID
It returns attachment even if deleted
search:
enableSorting: false
enablePaging: false
rdbms:
alias: att
table: attachments
customFilterConverter: true