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

Popular posts from this blog

javascript - Clear button on addentry page doesn't work -

c# - Selenium Authentication Popup preventing driver close or quit -

tensorflow when input_data MNIST_data , zlib.error: Error -3 while decompressing: invalid block type -