This field has been defined a char field before and many records have been imported into the table. You can not switch this field to a integer foreign key.