Added an index on dmg_state(output_id)
Added an index on dmg_state(output_id)


Former-commit-id: 1af41caa101d4815d8f5cab8deaa7ead5d9073b8
gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine