fix: should check an attribute name "default".
change: toboolean function has been supported a number type.
fix: should check a default value before checking a not-null constraint.