fix db config in dev mode