3
0
Files
corteza/store/messaging_attachments.yaml
2021-01-08 18:09:44 +01:00

34 lines
616 B
YAML

import:
- github.com/cortezaproject/corteza-server/messaging/types
types:
type: types.Attachment
fields:
- { field: ID }
- { field: Url }
- { field: PreviewUrl }
- { field: Name }
- { field: Meta }
- { field: OwnerID }
- { 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
enableFilterCheckFunction: false
customFilterConverter: true
rdbms:
alias: att
table: messaging_attachment