Updated DB schema

I found some additional relationships whilst
exploring the DB and thinking about issue #34.