chooses which db to use based on foreman