I’m currently working on a dynamic project, in which the users feed the database with new objects/data. Other users can later access the data other users provided.
Because the data’s coming directly from the user, I will sanitize the inputs. Nonetheless I don’t want them to feed data directly into my main database, so I thought of putting a new, temporary database in front of the main one. The idea is, that each newly created user data object is added to the temporary database with a report counter. If the row survives long enough without receiving a certain amount of reports, I want it to be pushed to the main database.
Would you rather use a single database and create separate tables for each the temporary and permanent data, create two separate databases, or do you have any other idea on how to design such a project?
Thanks in advance, I’m happy about everyones opinion!