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

feature request: support for multiple databases #28

Closed
maxnotarangelo opened this issue Sep 7, 2023 · 3 comments
Closed

feature request: support for multiple databases #28

maxnotarangelo opened this issue Sep 7, 2023 · 3 comments

Comments

@maxnotarangelo
Copy link

This is a very cool gem, but since my app has multiple databases, I can't use it.

It's explicitly disallowed here:

ActiveRecord::Tasks::DatabaseTasks.raise_for_multi_db(command: "db:rollback_branches")

Though it might be some work, in principle this feels doable to me. I'm happy to make an attempt at a PR.

@ka8725
Copy link
Member

ka8725 commented Sep 8, 2023

Thanks for the feedback! Please feel free to implement it.

@ka8725
Copy link
Member

ka8725 commented Sep 28, 2023

@maxnotarangelo how it's going? If you need some help please let me know. I'm going to refactor the code a bit to make this task a bit easier - https://github.com/widefix/actual_db_schema/pull/29/files

If you want and can provide a review, I would appreciate it very much. Thanks!

@ka8725
Copy link
Member

ka8725 commented May 6, 2024

Closed by #56

@ka8725 ka8725 closed this as completed May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants