Having one table with users (which are registered) in mysql
I simply want to assign every each of them any of the rows in different tables and different tables in other databases.
I though about create for every user stand-alone table with links to this rows.
For example:
Table my_user // With two columns
id_of_table id_of_row
But I afraid is not good solution.
Thanks for help in advance 🙂
Why not just add a user_id column to all the tables you want them for? If you need a central place where you can look up all the tables that are user owned you can either do it by naming convention (prepend “user_owned” or something) or create a tables that has the tables names of all the user owned tables.