Which one is the best practice and Why?
Foreign key is from user.type to type.id:
user.type
type.id
Foreign key is from user.type to type.typeName:
type.typeName