Mapping users to all of their files(URLs) in a mysql database. -
what want when have looked user in table, want list file urls user have access to. first thought have field in table list of file urls. however, have understood there no such field type.
i thinking maybe foreignkeys might work, having trouble getting head around it.
another solution maybe have 1 table each user, each row representing each file.
what best practice in case? going expand having shared files, thought i'd address issue first.
suggest explore json data type
Comments
Post a Comment