Added a check for db already created
Added a check for db already created


Former-commit-id: 50305cbf2b3276ff9fcce19f1a2191210c6f8443
gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine