Issue #2119193 by grahamC | xieyanxy9: PDOException: SQLSTATE[HY000]: General error: 1364 Field 'nid' doesn't have a default value.