Issue #2017183 by bradweikel, hswong3i: invalid schema: primary keys must be not null.