Laravel Error:Integrity constraint violation
yesterday : when i am trying to submit data to store in database i got error integrity constraint violation rule because role_id is foreign key and i did not mention this field in user model. Solution: after role_id mention in user model my error got solved https://gist.github.com/rakesh1166-cm/6e233a6d0f51504801713420cb483338#file-users-php