build command explicitly sets the foreign key for hasmany relationships on subpanels