pub async fn connect(path: &Path) -> DbResult<SqlitePool>Expand description
Opens (creating if missing) the SQLite database at path, applies the standard pragmas,
rejects incompatible migration histories, and runs pending migrations. This is
the only supported way to get a SqlitePool in bhtune — every caller (CLI, web server,
tests) goes through this function so the pragmas and migration state can never drift
between adapters.