So I have a database full of hardware components. I am willing to implement a function in which if the user selects 1 particular component he than would be able to see the activities this component has been through. CRUD, status change, etc..
Laracasts has a subject on this matter, but still hard to figure things out.
Do I need a table.. let's say activities or history and this one has:
id user_id ??
this is the part which I can't seem to figure it out. Do I need to hook up every and each component to the history table? or the other way around, each component with an history_id
I hope you understand what I mean.
Thanks in advance!
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community