mirror of
https://github.com/Karaka-Management/oms-Editor.git
synced 2026-02-11 07:58:40 +00:00
correct datamapper self/external usage (invert)
This commit is contained in:
parent
ec8869b8b4
commit
2db5404d5e
|
|
@ -53,7 +53,7 @@ final class EditorDocMapper extends DataMapperAbstract
|
||||||
protected static array $belongsTo = [
|
protected static array $belongsTo = [
|
||||||
'createdBy' => [
|
'createdBy' => [
|
||||||
'mapper' => AccountMapper::class,
|
'mapper' => AccountMapper::class,
|
||||||
'self' => 'editor_doc_created_by',
|
'external' => 'editor_doc_created_by',
|
||||||
],
|
],
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
@ -67,8 +67,8 @@ final class EditorDocMapper extends DataMapperAbstract
|
||||||
'tags' => [
|
'tags' => [
|
||||||
'mapper' => TagMapper::class,
|
'mapper' => TagMapper::class,
|
||||||
'table' => 'editor_doc_tag',
|
'table' => 'editor_doc_tag',
|
||||||
'self' => 'editor_doc_tag_src',
|
'self' => 'editor_doc_tag_dst',
|
||||||
'external' => 'editor_doc_tag_dst',
|
'external' => 'editor_doc_tag_src',
|
||||||
],
|
],
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user