Tyler Hallada
e85edff30a
I had a bad unique index on the `cells` table. This commit does not fix it but has two backfill scripts that will allow me to fixup the data before creating the new unique index. `is_base_game` identifies cells that are from the `Skyrim.esm` shipped with the game (and not from some mod that happens to also have a `Skyrim.esm` with a 0,0 cell with a different form id, see: https://github.com/thallada/modmapper-web/issues/8). `dump_cell_data` now only dumps cells from `is_base_game` cells. `deduplicate_interior_cells` removes duplicate cell and plugin_cell rows caused by the buggy index. I will need to upgrade the database and create a new index in a later commit. |
||
---|---|---|
.. | ||
20210530010850_initial.sql | ||
20210720032703_add_world_tables_and_world_id_column_to_cells.sql | ||
20210729031521_add_downloaded_at_to_files.sql | ||
20210729040241_add_last_updated_files_at_to_mods.sql | ||
20210729161345_add_has_plugin_to_files.sql | ||
20210729162802_add_unable_to_extract_plugins_to_files.sql | ||
20210809010234_make_mod_category_nullable.sql | ||
20220113194929_add_cell_lookup_index.sql | ||
20220118021910_add_additional_columns_to_mods.sql | ||
20220119022820_make_backfilled_mod_columns_non_null.sql | ||
20220125012642_add_ancestor_ids_to_plugins_and_plugin_cells.sql | ||
20220125021924_add_ancestor_ids_indices_to_plugins_and_plugin_cells.sql | ||
20220125022902_make_ancestor_ids_non_nullable_on_plugins_and_plugin_cells.sql | ||
20220312173403_add_plugin_hash_index.sql | ||
20220316031403_add_is_translation_to_mods.sql | ||
20231101025211_add_is_base_game_to_cells.sql |