configures database yml