Instead of overriding the table() method for each persistent class, the table
name should be included in classSettings().
This commit is contained in:
parent
96bfe07ec9
commit
2786df46ce
4 changed files with 35 additions and 21 deletions
|
|
@ -48,7 +48,8 @@ sub classSettings {
|
|||
parentId => { defaultValue => 0 },
|
||||
collateralFolderId => { key => 1 },
|
||||
description => { quote => 1 }
|
||||
}
|
||||
},
|
||||
table => 'collateralFolder'
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -73,6 +74,4 @@ sub recursiveDelete {
|
|||
WebGUI::Collateral->multiDelete(@collateralIds);
|
||||
}
|
||||
|
||||
sub table { 'collateralFolder' }
|
||||
|
||||
1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue