Skip to main content

ensure_github_read_cache_schema

Function ensure_github_read_cache_schema 

Source
pub fn ensure_github_read_cache_schema(conn: &Connection) -> Result<()>
Expand description

Create the GitHub-read cache table and index in the already-open AFT database.

This stays separate from AFT’s historical schema migrations so the cache module can be registered without coupling unrelated database consumers to its rollout. Every public cache operation calls this function before accessing the table.