pub fn open_sqlite_session_db( db_path: &Path, sessions_dir: &Path, ) -> Result<Connection, Error>
Opens (or creates) the SQLite DB at db_path. If JSON files exist in sessions_dir and the DB is empty, auto-migrates.
db_path
sessions_dir