I want to make a web application in witch, where there will be some users with different projects (for example, project c, C ++ project). My question is, how do I create three tables: users, projects, files? One user can have many projects (there will also be collaborative projects), projects can have folders (packages) and files, but in the file system I do not want this folder hierarchy to point to only pointers to a specific file from the database.
those. I am user1, and I have project1 with 3 folders in it: headers, resource, source, and there are several files in each folder or root file. The fact is that I want to get all the data associated with the project from user1 and put it in a tree view, but on the server all the files are in the same folder with randomly generated names.
source share