pub async fn run_migrations(pool: &PgPool, dimensions: usize) -> Result<()>Expand description
Run all PostgreSQL schema migrations.
The dimensions parameter controls the width of the pgvector vector column
on the memories table (e.g. 1536 for OpenAI ada-002 embeddings).