I am currently making an app for punching in and out employees.
I have three tables, one for the Employes, one for the PunchIn and one for the PunchOut.
What I want is the following : when I create a PunchIn, it change the is_in
entry (of the table Employees) to true
and when I create a PunchOut, the is_in
is false.
How can I deal with relations to make this?
Thanks!