supabase / vecs

Postgres/pgvector Python Client

Home Page:https://supabase.github.io/vecs/latest

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Export SQL for a migration

olirice opened this issue · comments

Vecs does not currently interop well with migrations.

Provide a function that exports a SQL snippet that can be used to setup a migration

Example

docs = vx.create_collection(...)

docs.export_migration()
# Returns: "create table vecs.docs ......"