-
Notifications
You must be signed in to change notification settings - Fork 0
PG vector support #3
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
base: main
Are you sure you want to change the base?
Conversation
…ns. New schema in Postgres is created for openmemory internal data.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How did you know which tables to create?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
They are listed in the models.py file.
openmemory/api/alembic/versions/7a2521026e06_create_openmemory_schema_and_tables.py
Outdated
Show resolved
Hide resolved
openmemory/api/app/models.py
Outdated
| memory_id = Column(UUID, ForeignKey(f"{SCHEMA_NAME}.memories.id"), nullable=False, index=True) | ||
| changed_by = Column(UUID, ForeignKey(f"{SCHEMA_NAME}.users.id"), nullable=False, index=True) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think you need to do this if you have the proper setup in env.py - you can just have "memories.id", for example
|
Should we use |
No description provided.