RTGOV-220 Cascading the deletion did not work, so used native queries instead. This may become an issue when using OGM. Also cleaned up some db related warnings and sorted out some naming inconsistencies in the h2 schema.