Skip to content
Snippets Groups Projects
Commit ca33d0a2 authored by Peter Rotich's avatar Peter Rotich
Browse files

Canned Dept relationship

Add department relationship to Canned model.
parent c664c936
Branches
Tags
No related merge requests found
......@@ -21,6 +21,10 @@ extends VerySimpleModel {
'table' => CANNED_TABLE,
'pk' => array('canned_id'),
'joins' => array(
'dept' => array(
'constraint' => array('dept_id' => 'Dept.id'),
'null' => true,
),
'attachments' => array(
'constraint' => array(
"'C'" => 'Attachment.type',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment