gem/openquake — pull request #621 by larsbutler (2011-12-23 10:49:37+00:00)
Title: Rename oq_job to oq_calculation

This is the first set of changes for https://bugs.launchpad.net/openquake/+bug/906955.

This patch simply renames oq_job to oq_calculation (to represent the runtime instance of an OpenQuake calculation). job_stats has also been renamed to calc_stats.

I have also removed calc_mode and job_type from the oq_calculation table; these parameters exist in oq_params and do not need to be in this table as well.