File tree Expand file tree Collapse file tree 6 files changed +1192
-118
lines changed Expand file tree Collapse file tree 6 files changed +1192
-118
lines changed Original file line number Diff line number Diff line change @@ -395,8 +395,10 @@ pub(crate) struct DownloadedYelpSuggestion {
395395 pub location_signs : Vec < DownloadedYelpLocationSign > ,
396396 #[ serde( rename = "yelpModifiers" ) ]
397397 pub yelp_modifiers : Vec < String > ,
398- #[ serde( rename = "icon" ) ]
399- pub icon_id : String ,
398+ #[ serde( rename = "iconLightTheme" ) ]
399+ pub icon_light_theme_id : String ,
400+ #[ serde( rename = "iconDarkTheme" ) ]
401+ pub icon_dark_theme_id : String ,
400402 pub score : f64 ,
401403}
402404
Original file line number Diff line number Diff line change @@ -113,9 +113,11 @@ CREATE TABLE yelp_location_signs(
113113) WITHOUT ROWID;
114114
115115CREATE TABLE yelp_custom_details(
116- icon_id TEXT PRIMARY KEY,
116+ icon_light_theme_id TEXT NOT NULL,
117+ icon_dark_theme_id TEXT NOT NULL,
117118 score REAL NOT NULL,
118- record_id TEXT NOT NULL
119+ record_id TEXT NOT NULL,
120+ PRIMARY KEY (icon_light_theme_id, icon_dark_theme_id)
119121) WITHOUT ROWID;
120122
121123CREATE TABLE mdn_custom_details(
You can’t perform that action at this time.
0 commit comments