-1
I am studying Mysql and have a user system. When the user logs into the account it is possible to create annotations. I imagine the right user table, but what about the notes? Should I create a table just for them and use Foreign Keys? What do I do?
Yes creates a table only for users, with username, name, email ,... next creates another for annotations and uses Foreign key, inside this table also inserts the user_id field (in this case it would be the Foreign key) that will allow knowing whose annotations will be, I do not know if I made myself understand, but basically this, you will have to put in the table "annotations" an equal field that will connect the two
– Ana