Check that local db exists before restoring events

Only restore events from a local database if the table exists. Otherwise,
skip this step.
SQLStore should be given the path to work with, so get this from
EventsLogConfig. This also facilitates testing.

Change-Id: Ie4eb1ff0188516ba25d9b5f3686f23e49c534e0d
7 files changed
tree: afe9aed3fdd7d3efb2c34f3153d6ee9c7e4b90fe
  1. lib/
  2. src/
  3. .buckconfig
  4. .gitignore
  5. BUCK