I give comments based on my experience,
In addition to attachments, you can store things in the database, why, because content management, backup, restore, query, search, especially full-text search will be easy.
Store the attached files in a folder and save the path in the DB tables.
Moreover, if you want to implement a search inside attachments, you can go to a search engine such as lucene, which is effective for finding static content.
saving attachments in the database or in the file system to the level important for files.
source share