-
Notifications
You must be signed in to change notification settings - Fork 685
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
Renaming from friend to omi #2016
Conversation
will fix #1801 |
1/ how did you solve the breaking changes on database for the existing memory > source: friend ? |
1/ I've added omi as conversation source and kept friend as is so as to not break the old memories. All the new memories will have the source as omi, and for the old memories we will have to migrate them if we want to remove the friend from the conversation source |
Just checked the database and we are not fetching/filtering based on the source field anywhere. So there shouldn't be anything that will break the existing memories |
1/ so do we need to migrate the database ? |
1/ For this PR we don't need to migrate unless we want all the old memories to have I've tested creating memory with new backend and old app and it did not crash |
1/ ✅ ok, please change the source friend -> omi in the database as well(not this PR) |
1/ Alright will write a script to do that, not sure how much time the script will take to run haha (I remember typesense script took 7-8hrs) |
lgtm @mdmohsin7 🚀 / good luck to us. |
part of #1973