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

[NFR] Migration with Multiple Databases with separate migration log #5

Open
nguyenphucthinh opened this issue Oct 20, 2017 · 1 comment
Assignees
Labels
NFR New Feature Request

Comments

@nguyenphucthinh
Copy link

I hope in the next version of phalcon-devtools, we can have the multiple databases support

My webapp should connect to 2 differents DB ( not the same tables)

I want control the migration with multiple differents DB, actually, i found 2 solution

  • migration with differents config.ini => but i can't separate the migration log/file in .phalcon/migration-version

  • modify the code of Migrations.php

If some one has the same idea with me

Many thanks

@sergeyklay sergeyklay transferred this issue from phalcon/phalcon-devtools Oct 21, 2019
@Jeckerson Jeckerson added the NFR New Feature Request label Nov 12, 2019
@Jeckerson Jeckerson added this to the 1.2.x milestone Nov 24, 2019
@Jeckerson Jeckerson self-assigned this Jan 28, 2020
@Jeckerson
Copy link
Member

Currently you can use --log-in-db option or logInDb configuration parameter. To separate phalcon-migrations in different databases.

TODO: /me Add tests for multi-db migrations.

@Jeckerson Jeckerson modified the milestones: 1.2.x, 2.0.x Feb 23, 2020
@Jeckerson Jeckerson changed the title Migration with Multiple Databases with separate migration log [NFR] Migration with Multiple Databases with separate migration log Mar 19, 2020
@Jeckerson Jeckerson modified the milestones: 2.0.x, 2.1.x, 3.0.x Mar 19, 2020
@Jeckerson Jeckerson removed this from the 3.0.x milestone May 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
NFR New Feature Request
Projects
Status: Backlog
Development

No branches or pull requests

3 participants