I worked on a SaaS project who's customers are companies in an old-fashioned industry. A common requirement was that their data shouldn't be stored in the same database tables as any other customer. They were fine with it being co-located on the same cloud servers, using the same credentials... as long as their data wasn't on the same tables. So I used postgres templates to make a database per customer.Didn't make much sense to me either but whatever pays the bills I guess.
Tostino|5 years ago
mulmen|5 years ago
There's no reason to join across customers in this situation and it saves you from making that type of mistake.
Colocating this on the same database and using the same users/credentials just makes it easier operationally. It's about isolating the data.
outworlder|5 years ago
chrismorgan|5 years ago