-
Notifications
You must be signed in to change notification settings - Fork 892
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
Migration on Multiple Database migration #1483
Comments
Have many different configuration files, and run sphinx pointing it to each different configuration |
In my scenario I have 100's of databases it is difficult to run 100 migrations separately . From table I can get all the database name is there any other solution to do migrations in all databases by running single migration. |
This use case is contemplated by #180 |
@aksharaCaprice care to explain what the difficult part would be? You could even point to the same config file but pass different environment variables. The config files supports that. You just need to call sphinx in a loop for each database. That's the logic phinx would have to do anyway |
Hi @lorenzo |
How to do migration on multiple databases from a single environment ?
eg: below given are multiple database name
customer1_application
customer2_application
customer3_application
customer4_application
How to run same migration in all databases ?
The text was updated successfully, but these errors were encountered: