Add covers for cards

This commit is contained in:
Maksim Eltyshev
2020-04-23 03:02:53 +05:00
parent f743f4ea8b
commit 3dffed90c6
26 changed files with 315 additions and 98 deletions

View File

@@ -50,6 +50,10 @@ module.exports = {
required: true,
columnName: 'board_id',
},
coverAttachmentId: {
model: 'Attachment',
columnName: 'cover_attachment_id',
},
subscriptionUsers: {
collection: 'User',
via: 'cardId',