Re-format mappers

This commit is contained in:
Dennis Eichhorn 2018-05-31 19:47:26 +02:00
parent 57ff8f3727
commit 518e290e37
2 changed files with 37 additions and 37 deletions

View File

@ -70,13 +70,13 @@ class TaskMapper extends DataMapperAbstract
'dst' => 'task_element_task',
'src' => null,
],
'media' => [ // todo: maybe make this a has one and then link to collection instead of single media files!
'media' => [
'mapper' => MediaMapper::class,
'table' => 'task_media',
'dst' => 'task_media_src',
'src' => 'task_media_dst',
],
'acc' => [ // todo: maybe make this a has one and then link to collection instead of single media files!
'acc' => [
'mapper' => AccountMapper::class,
'table' => 'task_account',
'dst' => 'task_account_account',