Reject a definition that could never be written correctly, before anything is created: a
default that fails its field's type check (otherwise every insert leaving that field out would
fail instead), including a null default on a field that isn't nullable, and a nullable field in
the primary key (an entry's file name comes from its primary key value). Also a key with no fields,
or with a field that isn't in the definition.
Reject a definition that could never be written correctly, before anything is created: a default that fails its field's type check (otherwise every insert leaving that field out would fail instead), including a null default on a field that isn't nullable, and a nullable field in the primary key (an entry's file name comes from its primary key value). Also a key with no fields, or with a field that isn't in the definition.