php - Cannot set FK constrains in MySQL
I have a problem that i cant solve right now and i have read similar question but i didnt help me!
I have i Users table and a Books table and i want to set a ONE to ONE relationship between them.
Im trying to set users_id - PK in Users to FK in Books table but it dosent work!
What am i doing wrong?
I'll add images for the steps i go through in the same order: