Updated DB schema

I found some additional relationships whilst
exploring the DB and thinking about issue #34.
Merge pull request #52 from philosophicles/master

Updated DB schema