DetailTypeBehavior to manage creation of _details tables