Created
July 25, 2013 16:02
-
-
Save proofek/6081214 to your computer and use it in GitHub Desktop.
relationship definition for a relate field created using proper relationship
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
'accounts_related_user' => array( | |
'lhs_module' => 'Users', | |
'lhs_table' => 'users', | |
'lhs_key' => 'id', | |
'rhs_module' => 'Accounts', | |
'rhs_table' => 'accounts', | |
'rhs_key' => 'related_user_id', | |
'relationship_type' => 'one-to-many', | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment