Answer the question
In order to leave comments, you need to log in
Do I need to create a table in the database for files?
Store in a table: folder name, file name, file type, file size, file dimensions. Does it make sense to store this information in a separate table, since they can be obtained by querying the file system?
In other tables, store only the ID per field in the file table.
Answer the question
In order to leave comments, you need to log in
I think it makes sense to store them in the database when you need the maximum performance of a web application (highload), otherwise I don’t see a particular need for this.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question