made the db on the worker process