I am going to finish creating a simple subscription-based subscription-based web application. I am setting up authorization. But since this will be my own web application that I am going to deploy, I am interested in this.
Is a separate database created for an open account?
Say you have this web application with support for support. You have ONE and ONLY ONE account holder. The account holder can set up agents that can respond to ticket support. In addition, there are customer roles that open up support tickets.
So, you can see that the database will contain users, support tickets and much more.
What is the best way?
1) Create one database for the entire application? Thus, every time someone signs up, everything is added to the same database with other tickets and user data and everything else or ...
2) Each time someone signs up, create a separate subscription subscription database.
I think option number 2 would be the best choice for data security and integrity. If so, how did you decide to tackle this problem?
source share