nnjeim / world

A Laravel package which provides a list of the countries, states, cities, currencies, timezones and languages.
MIT License
761 stars 104 forks source link

Possible to run database migrations on tenant? #27

Closed DennisKraaijeveld closed 2 years ago

DennisKraaijeveld commented 2 years ago

Hi! We do have a multitenancy app and I would like to run this package on the tenant. For this I will need to run migrations and seeders on the tenants but I do not see an option to config this. Possible solution or is this something which could be added?

aeq-dev commented 2 years ago

Check this : Laravel-world

nnjeim commented 2 years ago

@DennisKraaijeveld Hi Dennis, Are you running different databases per tenant? in this case why don't you consider having a micro service providing the countries to all the tenants?