Closed adriens closed 9 years ago
Acutally, this is not a bug, but a message that could be worded better. Tables that have all columns besides the primary key that are nullable, may contain no useful data, and could indicate a schema design smell. I will change the message to say: "table with all data columns nullable"
ok, explained like that it's much clearer. Thanks for your explanations.
If you create the following pgsql table :
The new lint will say :
... but the first PK column cannot be null... and still it is detected by this new lint. Does it really have the correct behavior ?
I've just discovered that as it was creating a regression in iur additional-lints :smile: