Part#1: Set field->part_of_key correctly for PK fields.
Attach a file by drag & drop or click to upload