spotters: logo coverage script (Wikidata logo/icon, multi-language infobox, website icon fallback), cheaper planes operator queries, refresh adds logos for new orgs
All checks were successful
Deploy production / deploy (push) Successful in 1m9s
All checks were successful
Deploy production / deploy (push) Successful in 1m9s
This commit is contained in:
@@ -666,7 +666,7 @@ async function main() {
|
||||
await tx`update planes.makers set wikipedia = ${l?.article ?? null},
|
||||
logo = ${l?.photo?.thumb ?? null}, logo_file = ${l?.photo?.file ?? null},
|
||||
logo_license = ${l?.photo?.license ?? null}, logo_author = ${l?.photo?.author ?? null}
|
||||
where slug = ${m.slug}`;
|
||||
where slug = ${m.slug} and not (${!l?.photo} and logo like '/spotters/logos/%')`;
|
||||
}
|
||||
await tx`update planes.makers k set photo = (
|
||||
select t.photo from planes.types t where t.maker_id = k.id and t.photo is not null
|
||||
|
||||
Reference in New Issue
Block a user