Added basic ERD diagram

Just a quick kind of ERD (it's been a while!) to show the views that
were created in code to facilitate faster queries, i.e. not querying on
the on the big table all the time.