Skip to content

Commit

Permalink
Update promocodes.php
Browse files Browse the repository at this point in the history
add new config params
  • Loading branch information
zgabievi authored Aug 6, 2018
1 parent faf3cd9 commit 9c2e578
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions config/promocodes.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,16 @@
* User model
*/
'user_model' => \App\User::class,

/**
* Foreign pivot key for many to many relationship
* of promocode and user model
*/
'foreign_pivot_key' => 'user_id',

/**
* Related pivot key for many to many relationship
* of promocode and user model
*/
'related_pivot_key' => 'user_id',
];

0 comments on commit 9c2e578

Please sign in to comment.