optionally accept database name of DATABASE_URL