refactor(serving): replace old models with location_profiles
Delete city_market_profile.sql and location_opportunity_profile.sql. Update downstream models (planner_defaults, pseo_city_costs_de, pseo_city_pricing) to read from location_profiles instead. Subtask 2/5: delete old models + update downstream SQL. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -76,11 +76,12 @@ city_profiles AS (
|
||||
city_slug,
|
||||
country_code,
|
||||
city_name,
|
||||
padel_venue_count,
|
||||
city_padel_venue_count AS padel_venue_count,
|
||||
population,
|
||||
market_score,
|
||||
venues_per_100k
|
||||
FROM serving.city_market_profile
|
||||
city_venues_per_100k AS venues_per_100k
|
||||
FROM serving.location_profiles
|
||||
WHERE city_slug IS NOT NULL
|
||||
)
|
||||
SELECT
|
||||
cp.city_slug,
|
||||
|
||||
Reference in New Issue
Block a user