Skip to content

Migration of storage from json to SQLite#296

Draft
h0tp-ftw wants to merge 25 commits intomainfrom
h0tp/sql-migration
Draft

Migration of storage from json to SQLite#296
h0tp-ftw wants to merge 25 commits intomainfrom
h0tp/sql-migration

Conversation

@h0tp-ftw
Copy link
Owner

@h0tp-ftw h0tp-ftw commented Feb 5, 2026

Pros: consolidated file management, full encryption, MASSIVE I/O GAIN due to individual reads and modifications without having to redump full file (json).
Cons: harder for beginner devs, tough migration process.

To Do List

  • Implement db management functions
  • Consolidate my/mainpokemon, items and badges into db
  • Modify all json functions to access db (for those above)
  • Migration script to move json to sql
  • Consolidate all other json's
  • Modify ALL json functions accessing any user_files .json file
  • Implement backup and sync functionality
  • Consolidate config.obf into db
image

Fixes #291

@h0tp-ftw h0tp-ftw self-assigned this Feb 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Massive I/O overhang from mypokemon.json processing

1 participant