title: mysql foreign key doesnt reflect to its references
body: <p>I am new to MySQL. I would like to ask. How do I reference an image path from 'profiles' table to the 'users' table. The column from 'profiles' table would be 'image' while the column from 'users' table would be 'avatar'. Somehow every time I updated image on my profile, it won't reflect in my 'users' table even though I have referenced the column respectively from 'users' table to the 'profile' table.</p>
  <p><strong>Users Schema</strong></p>
  <p><a href="https://i.stack.imgur.com/Ku3ru.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Ku3ru.png" alt="enter image description here" /></a></p>
  <p><strong>Profiles Schema</strong></p>
  <p><a href="https://i.stack.imgur.com/tpaY7.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/tpaY7.png" alt="enter image description here" /></a></p>