I would like to create a db schema to represent folder structures created by each user.
For example:
My Documents
-- My Pictures
-- My Videos
-- Summer Holidays
So the most easiest way I could think about is just create a table named:
folder_structure containing:
id,user_id,folder_name,parent_id,child_id
Thinking about that each user could create many folders this table would explode and I am not sure about the performance.
Is there any better way of storing this kind of data? I was thinking about storing it document-based (nosql) maybe for each user...
Thank you for your help!