Correct primaryKeyName assignment location
Correct primaryKeyType assignment location