Fixed some missing database tables

fixes #79