-
Notifications
You must be signed in to change notification settings - Fork 56
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
Suggestions #63
Comments
@gregnavis, So I'm considering to implement 2-nd point. Is this something you want to this in this gem? And regarding 1-st point: it will greatly simplify the implementation of 2-nd, since we can basically iterate over models and use their |
Re 1, I'm thinking about adding a global option to make this possible. What do you think? Re 2, what kind of features were you thinking about to support this? |
👍
I'm worrying I can misinterpret this question, so I would appreciate if you would rephrase it. |
Re 2, how could |
I mean not new checks (detectors) somehow related to multiple databases. But be able to run existing checks against other databases. For example, if I have |
@fatkodima, shouldn't both database use the same schema? |
For example, |
@gregnavis To your point, db/migrate/ and db/analytics_migrate/ would create 2 schema files, schema.rb and analytics_schema.rb . It would be great if active_record_doctor could detect the analytics migrations. Currently, the tables need to be added to global :ignore_tables in .active_record_doctor file, to avoid "relation "analytics_clicks" does not exist" for example . CC @fatkodima |
Would be happy to help with PRs, if this is something you are looking for.
The text was updated successfully, but these errors were encountered: