Setup/Update

* reapply flags for community content when rebuilding DB
   fixes associated filters and meta page 'missing screenshots'
This commit is contained in:
Sarjuuk
2022-03-03 18:55:04 +01:00
parent 33ec14f232
commit 73c1118601
22 changed files with 57 additions and 0 deletions

View File

@@ -34,6 +34,8 @@ SqlGen::register(new class extends SetupScript
DB::Aowow()->query('UPDATE ?_itemenchantment SET cuFlags = ?d WHERE type1 = 0 AND type2 = 0 AND type3 = 0', CUSTOM_EXCLUDE_FOR_LISTVIEW);
DB::Aowow()->query('UPDATE ?_itemenchantment SET cuFlags = ?d WHERE name_loc0 LIKE "%test%"', CUSTOM_EXCLUDE_FOR_LISTVIEW);
$this->reapplyCCFlags('itemenchantment', TYPE_ENCHANTMENT);
return true;
}
});