Select db adapter based on configuration or DATABASE_URL