Fixed a few foreign key references in the idata schema
Fixed a few foreign key references in the idata schema


Former-commit-id: bfad6ed3fa911eeac403d7f19329234274242e29
gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine