laravel validation if another record is not deleted 2f not null

Solutions on MaxInterview for laravel validation if another record is not deleted 2f not null by the best coders in the world

showing results for - "laravel validation if another record is not deleted 2f not null"
Leana
21 Aug 2018
1'user_id' =>'required|exists:App\Models\Users,id,deleted_at,!NULL' // if deleted_at is not null
2'user_id' =>'required|exists:App\Models\Users,id,deleted_at,NULL' // if deleted_at is null