db/schema:

Dropped the `eqcat` schema entirely. It wasn't used.
db/models:

Removed eqcat tables.
bin/oq_create_db:

Removed `eqcat` stuff from DB script.
tests/db/routers_test:

Removed eqcat tests.
tests/db/model_uiapi_jobprofile_test:

Deleted.
db/schema:

Removed `oq_job_profile` table.
db/models:

Removed OqJobProfile table.
db/schema:

Removed `job2profile` table.
db/models:

Removed `Job2profile` and related functions.
tests/kvs_test:

Removed an unused import.
tests/engine_test:

Pyflakes cleanup.
db/models:

Removed `inputs4job`.
tests/db/routers_test:

Removed references to OqJobProfile.
tests/db/model_risk_exposure_test:

Clean up test fixtures.
tests/db/models_test:

Removed `Profile4JobTestCase` and `Inputs4JobTestCase`.
tests/supervisor_test:

Cleaned up test fixtures.
tests/utils/helpers:

Removed some unused test helper code.
bin/oq_create_db:

Removed oqmif from table spaces. This is obsolete. The tables here should
be moved to `riski`.
db/models:

Moved all tables in `oqmif` namespace to `riski`.
db/schema:

Moved all oqmif tables to riski and removed oqmif namespace.