mirror of
https://github.com/langchain-ai/langchain-postgres.git
synced 2026-07-16 01:33:18 -04:00
any documentation for migration from old PGVector to the new one? #61
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @arezazadeh on GitHub (Nov 18, 2024).
are there any documentaion for migrating from old PGVector to the new one?
I have lots of user's data sitting in my database and i do not want to lose them. and there is no proper documentation that shows the migration process without losing data
@arezazadeh commented on GitHub (Nov 19, 2024):
ok i figured it out, i had to build the db on a new machine with new pgvector to see the difference.
If you are facing the same issue follow below steps:
idwith char varying type,idfield ,uuidtoiduuidfield.also they have changed bunch of other stuff like arguments to PGVector class, be mindful of those as well.
@alberto-agudo commented on GitHub (Jul 3, 2025):
I guess these new resources now solve your issue @arezazadeh?
migrate_pgvector_to_pgvectorstore.ipynb
migrate_pgvector_to_pgvectorstore.md