San Francisco’s median home price hit $1 million this year.