While having a look at a patch for storing the avatar locally (bug
8257), I wondered why the submitter created a whole new table for
It turned out he just followed what we are doing already, as we have a
mantis_bug_file_table and a mantis_project_file_table, with identical
Additionally, this leads to some (mostly) duplicated code to handle
file attachments at the project or file level in the
file_delete_project_files() and file_delete_attachments() methods.
So, instead of adding yet another file storage table, I wonder if
anyone can think about a reason why we shouldn't "normalize" the
database schema by moving to a single mantis_file_table, and using
that storage for all kind of files.
Get latest updates about Open Source Projects, Conferences and News.