Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export SQL for a migration #7

Open
olirice opened this issue Jun 1, 2023 · 0 comments
Open

Export SQL for a migration #7

olirice opened this issue Jun 1, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@olirice
Copy link
Collaborator

olirice commented Jun 1, 2023

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 ......"
@olirice olirice added the enhancement New feature or request label Jun 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant