Upgrade the database schema to reflect the additions of directory artifacts and the missing TargetInfo property.