Ignore unknown body IDs in item compatibility data
This commit is contained in:
parent
7ca548bae0
commit
9f61250f05
1 changed files with 3 additions and 0 deletions
|
@ -451,6 +451,9 @@ const resolvers = {
|
|||
parents_swf_assets.swf_asset_id = swf_assets.id
|
||||
WHERE items.id = ?
|
||||
GROUP BY swf_assets.body_id
|
||||
-- We have some invalid data where the asset has a body ID that
|
||||
-- matches no pet type. Huh! Well, ignore those bodies!
|
||||
HAVING speciesId IS NOT NULL;
|
||||
`,
|
||||
[id]
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue