Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only run tenant migrations for tenants with external databases? #3292

Closed
olicooper opened this issue Mar 21, 2020 · 1 comment · Fixed by #3307
Closed

Only run tenant migrations for tenants with external databases? #3292

olicooper opened this issue Mar 21, 2020 · 1 comment · Fixed by #3307

Comments

@olicooper
Copy link
Contributor

I noticed the migrator console application runs for the host and every tenant. Data seeding takes a little while for my application so with multi-tenant migrations enabled it takes a long time.

Is it possible to migrate the host database and then generate a list of tenants with external databases and only run the migrations again for those tenants?

Related: #1371

@maliming maliming added this to the 2.4 milestone Mar 23, 2020
@maliming maliming self-assigned this Mar 23, 2020
@maliming
Copy link
Member

you are right, I will try enhancement it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants