Associate pack type to component type on database level (#234)