mem0 icon indicating copy to clipboard operation
mem0 copied to clipboard

mem0migrations is always overriding the collection name

Open hayescode opened this issue 6 months ago • 1 comments

🐛 Describe the bug

This line here is overriding whatever collection name we set to mem0migrations. Why? Its only on the sync version.

https://github.com/mem0ai/mem0/blob/main/mem0/memory/main.py#L148

hayescode avatar Jun 12 '25 15:06 hayescode

Hey @hayescode, this is basically to make sure that we store the migrations related information so that if schema changes later, we can migrate to a new version easily. But I agree that the way code is written is very confusing. We will fix it. cc @Dev-Khant

deshraj avatar Jun 17 '25 16:06 deshraj

@deshraj @Dev-Khant This is still changing the collection i define in the VectorStoreConfig to mem0migrations. Can this please be looked into?

hayescode avatar Jul 25 '25 15:07 hayescode