Resolved a null db constraint to allow inserts on entries missing to fields