Comments (3)
Hi @hanzongyu,
Thank you for spotting the issue! What do you think if we make the message more generic to cover all cases and let an engineer decide what should be used?
The message could be: "NullConstraintChecker fail User admin column is required in the database but do not have a validator that disallows nil values."
from database_consistency.
The fix was released in 1.7.3. Please try it out and let me know if that helped. Thank you again, and have a great day!
Feel free to reopen the issue if needed.
from database_consistency.
I have improved it with my proposal here: #178. Please let me know if you disagree so that we can discuss it.
from database_consistency.
Related Issues (20)
- `EnumTypeChecker` is complaining about `enum` column HOT 4
- Misleading commandline help message HOT 3
- `ColumnPresenceChecker` and polymorphic association HOT 1
- `ColumnPresenceChecker`, `belongs_to `associations, and `optional`, `required` options HOT 3
- Checker that makes sure that enum type is used to store ActiveRecord's enums HOT 14
- EnumValueChecker doesn't work with ActiveRecord below 7 HOT 4
- Add ability to ignore certain namespaces HOT 5
- Does this gem recognize a find on a column without index? HOT 4
- database_consistency -f generates duplicate migrations HOT 3
- [Feature] Check constraint checker HOT 2
- Excluding Database Connections to Non Primary Databases Including sqlserver HOT 2
- Ensure that generated todo files are created with consistent ordering HOT 6
- MissingIndexChecker violation on polymorphic association HOT 3
- ForeignKeyCascadeChecker default mapping HOT 3
- "undefined method `null' for nil:NilClass" in column_presence_checker.rb:54 HOT 7
- UniqueIndexChecker and postgresql partial indexes HOT 1
- Extendable database_consistency HOT 5
- Checker for implicit_order_column for table with uuid as primary key HOT 8
- False-positive when index columns are defined as a string and not array HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from database_consistency.