Add applyPrimaryKeyType so that we can apply primary key type on a foreign key column
Add applyPrimaryKeyType so that we can apply primary key type on a foreign key column

c9s/LazyRecord,c9s/LazyRecord,c9s/LazyRecord