pub fn migrate_json_to_sqlite(
workspace_dir: &Path,
db: &MemoryDatabase,
) -> Result<MigrationReport, Error>Expand description
Execute the JSON → SQLite migration.
Scans all memory categories in the workspace directory, reads JSON files, and inserts them into the SQLite database. Skips if already migrated.