Fix postgres event store setup.