nullable-required-column (GN013)#
Automatic fix is available.
What it does#
Checks for existence of not null constraint on required columns.
Why not?#
If a column has been specified as required then it should not be nullable. Having a required column as nullable is an anti-pattern and should be avoided.
When should you?#
Never.
Use instead:#
Set the required column as Not Null.
Configuration#
required-columns
: List of required columns along with their data types.