Use the primary key type for the generated foreign key