Posts by Cristiano Cardoso • 21 points
2 posts
-
1
votes1
answer98
viewsA: Laravel - Database - unique data only from the logged-in user id
I managed to solve the problem, I will be leaving the resolution. in Appserviceprovider.php add this code. public function boot(){ /*…
-
1
votes1
answer98
viewsQ: Laravel - Database - unique data only from the logged-in user id
I’m having a problem in Laravel, in checking the unique data, I want you to check whether data is unique only in user id. I have a table called empresas_cadastradas, and what I want you to do is for…