This commit is contained in:
Dennis Eichhorn 2020-02-07 21:41:13 +01:00
parent 5539ed86dc
commit 1f8e02e3b4

View File

@ -61,14 +61,14 @@ final class PromotionMapper extends DataMapperAbstract
'tasks' => [ 'tasks' => [
'mapper' => TaskMapper::class, 'mapper' => TaskMapper::class,
'table' => 'marketing_promotion_task_relation', 'table' => 'marketing_promotion_task_relation',
'dst' => 'marketing_promotion_task_relation_dst', 'external' => 'marketing_promotion_task_relation_dst',
'src' => 'marketing_promotion_task_relation_src', 'self' => 'marketing_promotion_task_relation_src',
], ],
'media' => [ 'media' => [
'mapper' => MediaMapper::class, 'mapper' => MediaMapper::class,
'table' => 'marketing_promotion_media', 'table' => 'marketing_promotion_media',
'dst' => 'marketing_promotion_media_src', 'external' => 'marketing_promotion_media_src',
'src' => 'marketing_promotion_media_dst', 'self' => 'marketing_promotion_media_dst',
], ],
]; ];
@ -81,7 +81,7 @@ final class PromotionMapper extends DataMapperAbstract
protected static array $ownsOne = [ protected static array $ownsOne = [
'calendar' => [ 'calendar' => [
'mapper' => CalendarMapper::class, 'mapper' => CalendarMapper::class,
'src' => 'marketing_promotion_calendar', 'self' => 'marketing_promotion_calendar',
], ],
]; ];