modmapper/src
Tyler Hallada e85edff30a Fix bad interior cell data in db
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.
2023-11-08 01:10:49 -05:00
..
commands Fix bad interior cell data in db 2023-11-08 01:10:49 -05:00
extractors Update deps, rustfmt, clippy fixes 2023-04-20 00:47:14 -04:00
models Fix bad interior cell data in db 2023-11-08 01:10:49 -05:00
nexus_api Fix mode page scraping 2023-06-30 12:30:12 -04:00
main.rs Fix bad interior cell data in db 2023-11-08 01:10:49 -05:00
nexus_scraper.rs Fix mode page scraping 2023-06-30 12:30:12 -04:00
plugin_processor.rs Fix bad interior cell data in db 2023-11-08 01:10:49 -05:00