Set foreign key types