changed DB to reflect appropriate aspects of pivot
Merge pull request #53 from Copywright/fixing_databases

changed DB to reflect appropriate aspects of pivot