Use dev database if not running in production.