projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ceef2f6
)
PartsGroup - Rose relationship für parts
author
G. Richardson
<grichardson@kivitec.de>
Wed, 4 Oct 2017 08:00:58 +0000
(10:00 +0200)
committer
G. Richardson
<grichardson@kivitec.de>
Wed, 4 Oct 2017 08:04:08 +0000
(10:04 +0200)
SL/DB/PartsGroup.pm
patch
|
blob
|
history
diff --git
a/SL/DB/PartsGroup.pm
b/SL/DB/PartsGroup.pm
index
d612294
..
4a7f607
100644
(file)
--- a/
SL/DB/PartsGroup.pm
+++ b/
SL/DB/PartsGroup.pm
@@
-14,6
+14,11
@@
__PACKAGE__->meta->add_relationship(
type => 'many to many',
map_class => 'SL::DB::CustomVariableConfigPartsgroup',
},
+ parts => {
+ type => 'one to many',
+ class => 'SL::DB::Part',
+ column_map => { id => 'partsgroup_id' },
+ },
);
__PACKAGE__->meta->initialize;