Converted dbversion property to an attribute.