Created function for vertical tables generation for ORM objects