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: Best Practices check #31
Comments
also non null belongs_to should not use left. |
more things to try and check:
tricky, but maybe could check for add_fk_index not enabled on relationships to large tables |
also warn on duplicate relationship definitions under different names to prevent errors stemming from copy and paste. |
good one! |
We can use this to implement these: https://metacpan.org/pod/release/FREW/DBIx-Class-Helpers-2.026000/lib/DBIx/Class/Helper/Schema/Verifier.pm |
Looks perfect! Cool, I hope I can work on this soon |
If not I'll get around to it eventually sent from a rotary phone, pardon my brevity
|
Got the relname != colname one released |
I'm gonna call this done. Create issues for each one that you think is worth doing. |
Similar to how PBP are checked with https://metacpan.org/pod/Perl::Critic it would be very useful for doing something similar for DBIC Schemas. Here are some examples:
The text was updated successfully, but these errors were encountered: