This commit is contained in:
Dennis Eichhorn 2020-02-07 21:41:13 +01:00
parent ae3325947c
commit 9b69b37d2f
4 changed files with 12 additions and 12 deletions

View File

@ -53,8 +53,8 @@ final class KanbanBoardMapper extends DataMapperAbstract
'columns' => [ 'columns' => [
'mapper' => KanbanColumnMapper::class, 'mapper' => KanbanColumnMapper::class,
'table' => 'kanban_column', 'table' => 'kanban_column',
'dst' => 'kanban_column_board', 'external' => 'kanban_column_board',
'src' => null, 'self' => null,
], ],
]; ];
@ -67,7 +67,7 @@ final class KanbanBoardMapper extends DataMapperAbstract
protected static array $belongsTo = [ protected static array $belongsTo = [
'createdBy' => [ 'createdBy' => [
'mapper' => AccountMapper::class, 'mapper' => AccountMapper::class,
'src' => 'kanban_board_created_by', 'self' => 'kanban_board_created_by',
], ],
]; ];

View File

@ -51,8 +51,8 @@ final class KanbanCardCommentMapper extends DataMapperAbstract
'media' => [ 'media' => [
'mapper' => MediaMapper::class, 'mapper' => MediaMapper::class,
'table' => 'kanban_card_comment_media', 'table' => 'kanban_card_comment_media',
'dst' => 'kanban_card_comment_media_dst', 'external' => 'kanban_card_comment_media_dst',
'src' => 'kanban_card_comment_media_src', 'self' => 'kanban_card_comment_media_src',
], ],
]; ];

View File

@ -56,7 +56,7 @@ final class KanbanCardMapper extends DataMapperAbstract
protected static array $belongsTo = [ protected static array $belongsTo = [
'createdBy' => [ 'createdBy' => [
'mapper' => AccountMapper::class, 'mapper' => AccountMapper::class,
'src' => 'kanban_card_created_by', 'self' => 'kanban_card_created_by',
], ],
]; ];
@ -70,14 +70,14 @@ final class KanbanCardMapper extends DataMapperAbstract
'media' => [ 'media' => [
'mapper' => MediaMapper::class, 'mapper' => MediaMapper::class,
'table' => 'kanban_card_media', 'table' => 'kanban_card_media',
'dst' => 'kanban_card_media_dst', 'external' => 'kanban_card_media_dst',
'src' => 'kanban_card_media_src', 'self' => 'kanban_card_media_src',
], ],
'comments' => [ 'comments' => [
'mapper' => KanbanCardCommentMapper::class, 'mapper' => KanbanCardCommentMapper::class,
'table' => 'kanban_card_comment', 'table' => 'kanban_card_comment',
'dst' => 'kanban_card_comment_card', 'external' => 'kanban_card_comment_card',
'src' => null, 'self' => null,
], ],
]; ];

View File

@ -49,8 +49,8 @@ final class KanbanColumnMapper extends DataMapperAbstract
'cards' => [ 'cards' => [
'mapper' => KanbanCardMapper::class, 'mapper' => KanbanCardMapper::class,
'table' => 'kanban_card', 'table' => 'kanban_card',
'dst' => 'kanban_card_column', 'external' => 'kanban_card_column',
'src' => null, 'self' => null,
], ],
]; ];