TarikAli
2 months ago
464
4
Laravel

pass ip and user_id in every store model

Posted 2 months ago by TarikAli

Hello , in every table i store user_id and ip ; i dont want to pass these data in every store() or update() . is there any way to pass the current user_id , ip to be saved automatically with model in each store and update . thanks

Please sign in or create an account to participate in this conversation.