896 0 0 0
Last Updated : 2025-11-03 15:14:33
In this snippet I will teach you how to create unique validation related to another column
'email' => 'unique:users,email_address,NULL,id,account_id,1'In the rule above, only rows with an account_id of 1 would be included in the unique check.