diff --git a/config/promocodes.php b/config/promocodes.php index c844e7c..ffa5d79 100644 --- a/config/promocodes.php +++ b/config/promocodes.php @@ -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', ];