Hi! I'm developing my first application with microservices and I have a doubt.
I'm using relational database, how would I do with the information when I have a many to many relationship?
Because I have read that for each microservice there must be a database (go segmenting the database).
For example, in the microservice "companies", I should have a database that hosts the companies that exist.
And for the microservice "accounts", there should be a database with the accounts.
The problem arises in:
What if I have a many-to-many relationship between accounts and companies? What database would the pivot table be in?